Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
166851 李博均LeiBokGwan 整数幂 C++ Wrong Answer 0 1 MS 256 KB 216 2024-08-19 15:26:20

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


Judgement Protocol: