| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 167044 | 孔心悦 | 二进制半整数 | C++ | Wrong Answer | 60 | 6 MS | 240 KB | 318 | 2024-08-19 15:53:30 |
#include <bits/stdc++.h> using namespace std; int a[32]={1}; int main(){ int T,n; cin>>T; while(T--){ cin>>n; if(n<2){ cout<<"No\n"; continue; } int tmp=0; for(int i=0;i<=30;i++){ if((n&(1<<i))==(1<<i))tmp++; } if(tmp<=2)cout<<"yes\n"; else cout<<"no\n"; } return 0; }