HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Repetition (Loops) > problem:


080. 50248 - Power of two

Guest
• Discussion of problem (2)

Volume problems

• 019. 50438 - Pattern with stars
• 020. 50408 - Molecules
• 022. 50366 - Student Averages (2 G...
• 023. 50437 - Age Labeling
• 026. 50399 - Mobile Base Station
• 040. 50335 - Five Math Operators
• 045. 50462 - Class Average (3 Gra...
• 074. 50396 - Cinema Tickets - 1
• 080. 50248 - Power of two
• 090. 50456 - nth Digit of a Number
• 110. 50288 - Even numbers in even...
• 115. 50425 - Calculating Weekly Pay
• 120. 50426 - Calculating Sales
• 50312 - Sales Bar Chart
• 50313 - Pattern Displays
• 50316 - Population Bar Chart
• 50336 - Buying Carpets

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