Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166857 袁梓皓_B班 整数幂 C++ 通过 100 6 MS 256 KB 260 2024-08-19 15:26:40

Tests(4/4):


#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int x; for(int i = 1; i <= n; i++) { cin >> x; if((x & (x - 1)) == 0) cout << "Yes" << endl; else cout << "No" << endl; } return 0; }


测评信息: