0_0_14507978_6231.cpp: In function 'void work()': 0_0_14507978_6231.cpp:112:25: error: expected '}' at end of input pair <int ,int> last; ^