0_0_36037627_5614.cpp: In function 'int main()': 0_0_36037627_5614.cpp:33:14: error: 'tmp' was not declared in this scope if(tmp>0) ^