ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Сборники > Chapter 3. Repetition structures > задача:


Степень двойки

Задачи сборника

• Flowchart 1
• Flowchart 2
• Flowchart 3
• Sum until 0
• Sum less than N
• Sum of N numbers
• Степень двойки
• 01. How many digits?
• 02. How many divisors?
• 04. Поезд
• 05. Factorial
• 06. X to the power of Y
• 07. Fibonacci Series
• 08. Binary to decimal
• 09. Decimal to binary

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.

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