Problem modulochain
User kongmoyu789
Submission Time 2026-07-10 17:39:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:23:2: error: expected ‘,’ or ‘;’ before ‘cout’
23 | cout << product%MOD<< " ";
| ^~~~
modulochain.cpp:25:30: error: ‘num’ was not declared in this scope; did you mean ‘sum’?
25 | long long sumOfLast = sum - num[0];
| ^~~
| sum