Problem modulochain
User hyishigh
Submission Time 2024-12-04 16:02:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:26:102: error: expected ‘;’ before ‘}’ token
26 | cout << sum << ' ' << (arr[0] * arr[n-1] % mod << ' '<< (arr[0] - sumexceptfirst) % mod + mod) % mod
| ^
| ;
......
32 | }
| ~
modulochain.cpp:32:1: error: expected ‘}’ at end of input
32 | }
| ^
modulochain.cpp:7:15: note: to match this ‘{’
7 | signed main() {
| ^