Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166769 范子墨 整数幂 C++ 通过 100 10 MS 248 KB 189 2024-08-19 15:21:17

Tests(4/4):


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


测评信息: