0_0_23755138_13775.cpp: In function 'int main()': 0_0_23755138_13775.cpp:44:25: error: 'tmp' was not declared in this scope ans=min(ans,tmp); ^