Problem modulochain
User giaan1231
Submission Time 2023-12-23 19:25:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:20:40: error: expected ‘;’ before ‘)’ token
20 | cout << ((a[1] % mod) * a[n] % mod)) % mod << ' ';
| ^
| ;