| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 166081 | 账号已封禁@magicoj | 整数幂 | C++ | Wrong Answer | 75 | 6 MS | 248 KB | 425 | 2024-08-19 09:47:39 |
#include<bits/stdc++.h> using namespace std; int main(){ long int t,n; long int temp=1; bool tmp=false; cin>>t; for(int i=1;i<=t;i++){ cin>>n; temp=1; tmp=false; while(temp<=n){ temp=temp*2; if(temp==n){ cout<<"Yes"<<endl; tmp=true; temp=1; break; } } if(tmp==false) cout<<"No"<<endl; } } //首 啊啊啊啊啊啊啊啊 (这代码臭了,不能要了)