0_0_30862152_18301.cpp: In function 'int count(int)': 0_0_30862152_18301.cpp:6:5: error: expected ';' before 'for' for(;x;x>>=1) if(x&1) c++; ^ 0_0_30862152_18301.cpp:6:17: error: expected ';' before ')' token for(;x;x>>=1) if(x&1) c++; ^