Problem potatosalad
User suzienguyen
Submission Time 2026-02-15 23:30:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:26:23: error: expected ‘;’ before ‘}’ token
26 | N[i] = N[i] + N[i-1]
| ^
| ;
27 | }
| ~
potatosalad.cpp:29:17: error: expected ‘;’ before ‘}’ token
29 | cout << N[d-1]
| ^
| ;
30 | }
| ~
potatosalad.cpp:32:24: error: expected ‘;’ before ‘}’ token
32 | cout << N[N.size()-1]
| ^
| ;
33 | }
| ~