| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 166212 | 刘睿甫 | 整数幂 | C++ | Wrong Answer | 0 | 4 MS | 248 KB | 346 | 2024-08-19 10:09:41 |
#include <bits/stdc++.h> using namespace std; bool is_zms(int n){ for (int i = 1;i<=n;i++){ if (n%2==0) return 1; else n/=2; } return 0; } int main(){ int t,i,n; cin>>t; for (int i = 0;i<t;i++){ cin>>n; if (is_zms(n)) cout<<"Yes"<<endl; else cout<<"No"<<endl; } return 0; }