Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166885 陈子谦 整数幂 C++ 解答错误 0 5 MS 248 KB 216 2024-08-19 15:30:27

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; }


测评信息: