Problem modulochain
User Jinxuan
Submission Time 2023-12-23 11:36:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int32_t main()’:
modulochain.cpp:9:16: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
9 | cout << ((sum%mod)+(a[0]%mod)%mod) << " " << ((a[0]%mod)*(a[n-1]%mod))%mod << " " <<((a[0]%mod)-(sum%mod)%mod);
| ^~~
| modf