Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166997 李博均 整数幂 C++ 解答错误 0 1 MS 244 KB 220 2024-08-19 15:46:37

Tests(0/4):


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


测评信息: