Problem modulochain
User WouldIWas
Submission Time 2025-05-12 17:36:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:15:17: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
15 | sum += A[j] % mod;
| ^~~
| modf
modulochain.cpp:23:14: error: expected ‘;’ before ‘}’ token
23 | sub += A[z]
| ^
| ;
24 | }
| ~