| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 166375 | Mino_XIE-谢文凯B班 | 整数幂 | C++ | Wrong Answer | 75 | 7 MS | 240 KB | 362 | 2024-08-19 14:02:32 |
#include<bits/stdc++.h> using namespace std; #define int long long signed main(){ int T; cin >> T; while(T--){ int k; cin >> k; int cnt = 1,tot = 0; while(1){ cnt *= 2; ++tot; if (cnt == k){ cout << "Yes" <<endl; break; } else if (cnt > k){ cout << "No" <<endl; break; } } } return 0; }