Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166883 袁梓皓_B班 整数幂 C++ 通过 100 5 MS 240 KB 243 2024-08-19 15:29:59

Tests(4/4):


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


测评信息: