Problem catlunch
User wahjsodhowasd
Submission Time 2026-02-15 17:35:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:18:2: error: expected ‘,’ or ‘;’ before ‘int’
18 | int total=0
| ^~~
catlunch.cpp:19:21: error: ‘i’ was not declared in this scope
19 | for (int i = 0; i < N; i++) {
| ^