Problem historical
User YH
Submission Time 2026-01-04 15:40:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

historical.cpp: In function ‘void solve()’:
historical.cpp:126:91: error: expected ‘)’ before ‘;’ token
126 | if (mp2[x[curr_r] * mp[x[curr_r]]] == 0) mp2.erase(mp2.find(x[curr_r] * mp[x[curr_r]]);
| ~ ^
| )
historical.cpp:136:91: error: expected ‘)’ before ‘;’ token
136 | if (mp2[x[curr_l] * mp[x[curr_l]]] == 0) mp2.erase(mp2.find(x[curr_l] * mp[x[curr_l]]);
| ~ ^
| )
historical.cpp:148:91: error: expected ‘)’ before ‘;’ token
148 | if (mp2[x[curr_l] * mp[x[curr_l]]] == 0) mp2.erase(mp2.find(x[curr_l] * mp[x[curr_l]]);
|