Problem | foodchain |
---|---|
User | rhea61 |
Submission Time | 2023-11-09 09:23:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int32_t main()’:
foodchain.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
foodchain.cpp:8:24: note: in expansion of macro ‘int’
8 | for ( int i = 0; i < int N; i++ )
| ^~~
foodchain.cpp:8:23: error: expected ‘;’ before ‘long’
8 | for ( int i = 0; i < int N; i++ )
| ^
| ;
foodchain.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
foodchain.cpp:8:24: note: in expansion of macro ‘int’
8 | for ( int i = 0; i < int N; i++ )
| ^~~
foodchain.cpp:8:23: error: expected ‘)’ before ‘long’
8 | for ( int i = 0; i < int N; i++ )
| ~ ^
| )
foodchain.cpp:8:31: error: ‘i’ was not dec