Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
165955 C班-杨渔 整数幂 C++ 通过 100 4 MS 256 KB 287 2024-08-19 08:32:24

Tests(4/4):


#include <iostream> #include <cmath> using namespace std; double s; int n,m; int main() { cin>>n; while (n--) { cin>>m; s=log2(m); if (s==int(s)) cout<<"Yes\n"; else cout<<"No\n"; } return 0; }


测评信息: