Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Courses
Algorithms
Bit Operations (Python)
Module:
Bit Operations (Python)
Problem
8
/13
Checking if a number is a power of two
Problem
Given a number x. Check if a number is a power of two.
Input
Output
2
1
3
0
Запрещенные операторы: while;for;do;until
1000
ms
256 Mb
Rules for program design and list of errors in automatic problem checking
Teacher commentary