Problem competition
User xiaocai918
Submission Time 2026-11-29 14:37:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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