0_0_36597905_30188.cpp: In function 'void solve()':
0_0_36597905_30188.cpp:70:5: error: expected ';' before 'for'
for (int i = 1; i <= n; ++i) {
^
0_0_36597905_30188.cpp:70:21: error: 'i' was not declared in this scope
for (int i = 1; i <= n; ++i) {
^
|