Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
156951 梁煜然 整数幂 C++ Accepted 100 0 MS 256 KB 249 2024-07-18 21:47:12

Tests(4/4):


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


Judgement Protocol: