0_0_22763311_31539.cpp: In function 'void solve(int, int)': 0_0_22763311_31539.cpp:294:3: error: expected ';' before 'if' if(f[i] >= 313) f[i] -= 313; ^