Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
166071 C班-范浩宇 整数幂 C++ 解答错误 50 1963 MS 248 KB 273 2024-08-19 09:42:02

Tests(2/4):


#include <bits/stdc++.h> using namespace std; int T, n; int main() { cin>>T; while(T--){ cin >> n; while(true){ n = (n >> 1); if(n == 2){ cout<<"Yes\n"; break; }if(n == 1){ cout<<"No\n"; break; } } } }


测评信息: