Problem | choochoo |
---|---|
User | Ush |
Submission Time | 2023-11-15 08:15:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
choochoo.cpp: In function ‘int32_t main()’:
choochoo.cpp:7:3: error: expected initializer before ‘cin’
7 | cin >> n;
| ^~~
choochoo.cpp:8:22: error: ‘n’ was not declared in this scope
8 | for (int i =0; i < n; ++i){
| ^
choochoo.cpp:3:13: error: expected ‘,’ or ‘;’ before ‘long’
3 | #define int long long
| ^~~~
choochoo.cpp:13:6: note: in expansion of macro ‘int’
13 | int choo ++}
| ^~~
choochoo.cpp:15:8: error: ‘choo’ was not declared in this scope
15 | if (choo % 2 == 0){
| ^~~~
choochoo.cpp:17:32: error: expected ‘;’ before ‘}’ token
17 | } else { cout << "choo CHOO"};
| ^
| ;