| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 156657 | 林泽豪 | 二进制半整数 | C++ | Wrong Answer | 60 | 4 MS | 244 KB | 242 | 2024-07-18 10:01:27 |
#include <iostream> using namespace std; int n; int main(){ cin>>n; while(n--){ int a,d=0; cin>>a; while(a){ if(a&1)d++; if(d>=3){ cout<<"no\n"; goto A; } a=a>>1; } cout<<"yes\n"; A:; } }