0_0_14990635_9682.cpp: In function 'int main()': 0_0_14990635_9682.cpp:88:87: error: expected ')' before ';' token add_mod(d[cur][S | State[row][col]], (pre * (t2 - t1 + MOD) % MOD); ^