0_0_38226544_19032.cpp: In function 'void solve()': 0_0_38226544_19032.cpp:90:38: error: expected primary-expression before ';' token cout << " " << ans[i].key <<; ^