Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
54640 桑迪 寻找最低数 C++ Accepted 100 0 MS 248 KB 179 2022-07-29 16:38:08

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int a; int main(){ cin>>a; while(a){ int s=0; while(a%2==0)a/=2,s++; cout<<(1<<s)<<endl; cin>>a; } return 0; }


Judgement Protocol: