提交时间:2022-07-29 16:22:43
运行 ID: 54546
#include<bits/stdc++.h> using namespace std; int a; int main(){ while(cin>>a,a){ int t=1; while(a%2==0) a/=2,t*=2; cout<<t<<endl; } return 0; }