Problem choochoo
User AppleOnAstick
Submission Time 2023-11-15 08:49:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

choochoo.cpp: In function ‘int32_t main()’:
choochoo.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
choochoo.cpp:8:5: note: in expansion of macro ‘int’
8 | if (int(n-2)%2=0;){
| ^~~
choochoo.cpp:8:18: error: expected primary-expression before ‘)’ token
8 | if (int(n-2)%2=0;){
| ^
choochoo.cpp:11:10: error: expected ‘;’ before ‘-’ token
11 | if (int n-2%2>0;){
| ^
| ;
choochoo.cpp:11:16: error: expected ‘)’ before ‘;’ token
11 | if (int n-2%2>0;){
| ~ ^
| )
choochoo.cpp:11:17: error: expected primary-expression before ‘)’ token
11 | if (int n-2%2>0;){
| ^