Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166773 B班-胡书恒 整数幂 C++ 通过 100 6 MS 248 KB 166 2024-08-19 15:21:20

Tests(4/4):


#include<bits/stdc++.h> using namespace std; int main(){ int n,t; cin>>t; while(t--){ cin>>n; cout<<(((n-1)&n)==0?"Yes\n":"No\n"); } return 0; }


测评信息: