0_0_25826030_15963.cpp: In function 'int main()': 0_0_25826030_15963.cpp:112:17: error: 'tmpams' was not declared in this scope tmpams += ans[i].first; ^