Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
156950 梁煜然 整数幂 C++ Wrong Answer 0 0 MS 248 KB 252 2024-07-18 21:45:01

Tests(0/4):


#include<bits/stdc++.h> using namespace std; int main(){ int t; scanf("%d",&t); for(int i=1;i<=t;i++){ int temp; scanf("%d",&temp); while(temp>1){ temp=(temp>>1); } if(temp==1) printf("Yes\n"); else printf("No\n"); } }


Judgement Protocol: