Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166806 李博均LeiBokGwan 整数幂 C++ 编译错误 0 0 MS 0 KB 214 2024-08-19 15:23:49

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ int n,t; scanf(%d,&t); while(t--){ scanf("%d",&n); if((n&(n-1))==0){ printf("yes\n"); }else{ printf("no\n"); } } return 0; }


测评信息: