Type: Default 1000ms 1MiB

整数幂

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

判断一个数 n 是不是 2 的整数幂,比如 64=262 ^6 ,所以输出“yes”,而 65 无法表示成 2 的整数幂形式,所以输出“no”。n 在 int 范围以内。 注意:多组测试数据,直到输入结束

Samples

64
yes
65
no

Limitation

1s, 1024KiB for each test case.

位运算

Not Claimed
Status
Done
Problem
12
Open Since
2024-11-23 0:00
Deadline
2024-12-1 23:59
Extension
24 hour(s)