| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 166411 | 欧阳雨泽 | 二进制半整数 | C++ | Wrong Answer | 0 | 1 MS | 256 KB | 214 | 2024-08-19 14:16:45 |
#include<bits/stdc++.h> using namespace std;int main(){long long t,n,sum=0,k=1;cin>>t;while(t--){scanf("%d",&n);while(k){if(n&k){sum++;if(sum>2)break;}k=k<<1;}if(sum>2||n==1)cout<<"no";else cout<<"yes";}return 0;}