HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50005 - Power of two

Section problems

• 50262 - Function f(x)
• 50268 - Download Percentage
• 50269 - Isosceles Triangles
• 50270 - Buy Three Items
• 50271 - Number of Right Triangles
• 50272 - Convert from Hex to Dec
• 50273 - Triangle Property
• 50274 - Sum of the series
• 50005 - Power of two
• 50007 - Even numbers in even posit...
• 50008 - Sum of odd numbers from ...
• 50012 - Number Pattern
• 50013 - John's Tasks
• 50023 - Missing Number
• 50031 - Separate Into Digits
• 50047 - Sum of the numbers from a...
• 50060 - Total Salary Paid

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