Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
56388 安一宸 寻找最低数 C++ Accepted 100 0 MS 252 KB 221 2022-08-01 18:35:03

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int a; while(cin>>a && a!=0){ long long t=1; while(a){ if(a%2==1){ cout<<t<<endl; break; } a/=2; t*=2; } } return 0; }


Judgement Protocol: