Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
165965 C班-范浩宇 整数幂 C++ 解答错误 0 1980 MS 256 KB 326 2024-08-19 08:41:21

Tests(0/4):


#include<bits/stdc++.h> //#include<IAKIOI> using namespace std; int I, AK, IOI; int IAKIOI(){ cin >> I; while(I--){ cin>>AK; for(int RP = 0;RP <= AK;RP++){ if(((int)pow(2, RP)) == AK){ cout<<"Yes"<<endl; return 0; } } cout<<"No"<<endl; } return 0; } int main(){ IAKIOI(); }


测评信息: