Problem choochoo
User Yifei1234
Submission Time 2023-02-27 16:57:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

choochoo.cpp: In function ‘int main()’:
choochoo.cpp:7:1: error: expected ‘,’ or ‘;’ before ‘for’
7 | for ( int i=0,i<n,i++){
| ^~~
choochoo.cpp:15:4: error: expected ‘(’ before ‘%’ token
15 | if %2=0
| ^
| (
choochoo.cpp:17:4: error: expected ‘(’ before ‘%’ token
17 | if %2=!
| ^
| (