Run ID:157876
提交时间:2026-08-18 18:00:58
#include <bits/stdc++.h> using namespace std; int main(){ int i,l=0,y=0,i1; for(i=1;i<=1000;i++){ i1=i; while(i1>0){ if(i1%2==0){ l++; } if(i1%2==1){ y++; } i1/=2; } } if(y>l){ cout<<"A"; } else{ cout<<"B"; } return 0; }