Problem modulochain
User dieunq1309
Submission Time 2023-12-06 23:27:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:16:24: error: expected ‘;’ before ‘if’
16 | sum = (sum + num)%mod
| ^
| ;
17 | if (i == 0)
| ~~