Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166182 C班-范浩宇 整数幂 C++ 通过 100 7 MS 252 KB 299 2024-08-19 10:05:40

Tests(4/4):


#include <bits/stdc++.h> using namespace std; long long T, n; bool IAKIOI(double x){ int y = (int)x; if(y == x) return true; return false; } int main() { cin>>T; while(T--){ cin >> n; if(IAKIOI(log2(n))) cout<<"Yes"<<endl; else cout<<"No"<<endl; } }


测评信息: