Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166041 linrongxin 整数幂 C++ 解答错误 0 0 MS 240 KB 206 2024-08-19 09:32:13

Tests(0/4):


#include<iostream> using namespace std; int t,n,p; int main(){ cin>>t; for(int i=1;i<=n;i++){ cin>>n; p=1; while(p>=n)p*=2; if(p==n)cout<<"Yes"; else cout<<"No"; cout<<'\n'; } }


测评信息: