Problem modulochain
User huyleisme
Submission Time 2024-01-20 11:52:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp: In function ‘int main()’:
modulochain.cpp:16:2: error: expected ‘,’ or ‘;’ before ‘for’
16 | for (int i = 0; i < n; i++) {
| ^~~
modulochain.cpp:16:28: error: expected ‘;’ before ‘)’ token
16 | for (int i = 0; i < n; i++) {
| ^
| ;
modulochain.cpp:26:1: error: expected ‘}’ at end of input
26 | }
| ^
modulochain.cpp:11:30: note: to match this ‘{’
11 | for (int i = 0; i < n; i++) {
| ^
modulochain.cpp:26:1: error: expected ‘}’ at end of input
26 | }
| ^
modulochain.cpp:3:13: note: to match this ‘{’
3 | int main () {
| ^