Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166945 陈子谦 整数幂 C++ 解答错误 0 9 MS 244 KB 222 2024-08-19 15:41:56

Tests(0/4):


#include<bits/stdc++.h> using namespace std; int main(){ int m,n; cin>>m; while(m--) { cin>>n; if((n&(n-1))==0){ cout<<"yes"<<endl; } else{ cout<<"no"<<endl; } } return 0; }


测评信息: