| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 218989 | iiiiiii | 整数幂 | C++ | 解答错误 | 0 | 27 MS | 260 KB | 449 | 2026-10-05 02:53:19 |
#include<bits/stdc++.h> using namespace std; bool b; int n,num; int main(){ ios::sync_with_stdio(false),cin.tie(nullptr),cout.tie(nullptr); cin>>n; while(n--){ b=false; cin>>num; while(num>1){ if(num%2!=0){ cout<<"No"<<endl; b=true; break; } num/=2; } if(!b)cout<<"Yes"; } return 0; }