HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50248 - Power of two

Guest
• Discussion of problem (2)

Section problems

• 50595 - Sum of the numbers
• 50599 - Sum of Squared Error (SSE...
• 50609 - Long division
• 50548 - Albanian Airlines
• 50243 - Sum of digits
• 50241 - Greatest common divisor
• 50240 - The numbers that are divisi...
• 50242 - Numbers whose sum of the...
• 50248 - Power of two
• 50341 - Separate Into Digits
• 50335 - Five Math Operators
• 50408 - Molecules
• 50304 - Number Pattern
• 50305 - John's Tasks
• 50649 - Puzzle
• 50321 - Missing Number
• 50308 - IT Knowledge Seminars

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Difficulty Alpha

From Russian Informatics Olympiads
Take a number. Print YES, if it is a power of two, NO - otherwise.

input 1 Input 2
8
22
Output 1 Output 2
YES
NO

Для отправки решений необходимо выполнить вход.

www.contester.ru