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