Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
ABR0591 - Эсрэг тоо |
m натурал тоо өгөгдөв. m тооны хоёртын бичлэгийн цифрүүдийн дарааллыг эсрэгээр өөрчлөхөд үүсэх n тоог ол (m нь аравтын тооллын системд өгөгдөх ба n-г ч мөн аравтын тооллын системд гаргаж авах ёстой. Жишээ нь
m=6 үед n=3 байна).
Input
m натурал тоо өгөгдөнө (m<=109).
Output
n тоог хэвлэнэ.
Example
Input:
6
Output:
3
Нэмсэн: | sw40 |
Огноо: | 2009-06-26 |
Хугацааны хязгаарлалт: | 1s |
Эх кодын хэмжээний хязгаарлалт: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Програмчлалын хэлүүд: | Бүгд дараах хэлүүдээс бусад: ASM32-GCC MAWK BC C-CLANG NCSHARP CPP14 CPP14-CLANG COBOL COFFEE D-CLANG D-DMD DART ELIXIR ERL FANTOM FORTH GOSU GRV JS-RHINO JS-MONKEY JULIA KTLN NIM NODEJS OBJC OBJC-CLANG OCT PERL6 PICO PROLOG PYPY PYPY3 PY_NBC R RACKET RUST CHICKEN SQLITE SWIFT UNLAMBDA VB.NET |
Эх сурвалж: | Абрамов С. А. |
hide comments
2018-08-05 04:49:01
Last edit: 2018-08-05 04:49:42 |
|
2018-07-26 06:25:13
Програмчлалын үндсэн аргууд PROFILE News Problems Status Ranking Forum Try DigitalOcean today and get a free $100 credit. ADS VIA CARBON SPOJ time: 2018-07-26 06 : 24 : 24 Бодолт илгээх Миний бодолтууд Бүх бодолтууд Шилдэг бодолтууд PDF Жагсаалт руу буцах ABR0591 - Эсрэг тоо m натурал тоо өгөгдөв. m тооны хоёртын бичлэгийн цифрүүдийн дарааллыг эсрэгээр өөрчлөхөд үүсэх n тоог ол (m нь аравтын тооллын системд өгөгдөх ба n-г ч мөн аравтын тооллын системд гаргаж авах ёстой. Жишээ нь m=6 үед n=3 байна). Input m натурал тоо өгөгдөнө (m<=109). Output n тоог хэвлэнэ. Example Input: 6 Output: 3 Нэмсэн: sw40 Огноо: 2009-06-26 Хугацааны хязгаарлалт: 1s Эх кодын хэмжээний хязгаарлалт: 50000B Memory limit: 1536MB Cluster: Cube (Intel G860) Програмчлалын хэлүүд: Бүгд дараах хэлүүдээс бусад: ASM32-GCC MAWK BC C-CLANG CPP14-CLANG CPP14 COBOL COFFEE D-DMD D-CLANG DART ELIXIR ERL FANTOM FORTH GOSU GRV JS-RHINO JS-MONKEY KTLN NIM NODEJS OBJC OBJC-CLANG OCT PERL6 PICO PROLOG PYPY PY_NBC R RACKET RUST CHICKEN SQLITE SWIFT UNLAMBDA VB.NET Эх сурвалж: Абрамов С. А. hide comments 2018-07-26 06:24:23 (edit) in a 2t's system is must be written by 0 and 1 2012-04-19 05:57:37 oyunnomin shal tngyumaa ene bodlogo chini 2010-11-22 00:34:32 Piotr KÄ…kol Thank You. I got AC. :-) None of Your guesses are correct. ;-P I just look for interesting tasks. :-) I found here few like: http://www.spoj.pl/ABRAMOV/problems/ABR0614 http://www.spoj.pl/ABRAMOV/problems/ABR0579 http://www.spoj.pl/ABRAMOV/problems/ABR0070A :-) Another reason is that if I solved all tasks some users may visit my user's page and find a link to my contest: SHORTEN and got interested into shortening codes. ;-) Last edit: 2010-11-22 00:34:43 2010-11-15 12:29:23 sw40 BTW, why are you doing this? Want to solve all problems in all languages? Want to learn Mongolian? Last edit: 2010-11-15 12:29:37 2010-11-15 12:28:20 sw40 Given a number m. Calculate the number n which will be created by reversing the order of binary digits in m. :) 2010-10-13 13:30:10 Piotr KÄ…kol I will help You if You write what's the task (because I don't know Mongolian) and what's the problem. 2010-10-12 04:28:13 CS09D035 help me |
|
2018-07-26 06:24:23
in a 2t's system is must be written by 0 and 1 |
|
2012-04-19 05:57:37 oyunnomin
shal tngyumaa ene bodlogo chini |
|
2010-11-22 00:34:32 Piotr KÄ…kol
Thank You. I got AC. :-) None of Your guesses are correct. ;-P I just look for interesting tasks. :-) I found here few like: http://www.spoj.pl/ABRAMOV/problems/ABR0614 http://www.spoj.pl/ABRAMOV/problems/ABR0579 http://www.spoj.pl/ABRAMOV/problems/ABR0070A :-) Another reason is that if I solved all tasks some users may visit my user's page and find a link to my contest: SHORTEN and got interested into shortening codes. ;-) Last edit: 2010-11-22 00:34:43 |
|
2010-11-15 12:29:23 sw40
BTW, why are you doing this? Want to solve all problems in all languages? Want to learn Mongolian? Last edit: 2010-11-15 12:29:37 |
|
2010-11-15 12:28:20 sw40
Given a number m. Calculate the number n which will be created by reversing the order of binary digits in m. :) |
|
2010-10-13 13:30:10 Piotr KÄ…kol
I will help You if You write what's the task (because I don't know Mongolian) and what's the problem. |
|
2010-10-12 04:28:13 CS09D035
help me |