Problem modulochain
User dieunq1309
Submission Time 2024-06-29 16:10:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:19:36: error: expected ‘)’ before ‘;’ token
19 | prod = ((prod%mod)*(num%mod)%mod;
| ~ ^
| )
modulochain.cpp:24:36: error: expected ‘)’ before ‘;’ token
24 | prod = ((prod%mod)*(num%mod)%mod;
| ~ ^
| )