| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 166059 | 李澄 | 整数幂 | C++ | Compile Error | 0 | 0 MS | 0 KB | 451 | 2024-08-19 09:37:36 |
#include <iostream> using namespace std; int main() { int t; cin >> t; while (t--) { int n; cin >> n; bool flag = true; while (n > 0) { if (n % 2 == 0) n /= 2; else { flag = flase; break; } } if (flag) cout << "Yes" << endl; else cout << "No" << endl; } return 0; }