HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


The power of 2

Section problems

• Разложение на простые множители
• Roman to integer
• Dictionary from String
• Симметричная матрица
• Scrabble
• Создуктон минималдуу маанисинин...
• Спираль
• Степень двойки
• The power of 2
• Сумма цифр делится на K
• Сумма цифр числа
• Счастливые билеты
• Таймер
• Тамгалардын комбинациясы
• Футбол
• Чётные на чётных
• Чем больше, тем лучше

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.

Given a single integer N. Write a program that outputs YES if N is a power of 2, and NO otherwise.

standart input standart output
8
YES
22 NO

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

www.contester.ru