Problem | gift |
---|---|
User | dragons |
Submission Time | 2022-12-30 17:36:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gift.cpp: In function ‘int main()’:
gift.cpp:3:12: error: expected primary-expression before ‘long’
3 | #define ll long long int
| ^~~~
gift.cpp:4:24: note: in expansion of macro ‘ll’
4 | #define FOR(i,a,b) FOR(ll i=(a); i<=(b); ++i)
| ^~
gift.cpp:12:5: note: in expansion of macro ‘FOR’
12 | FOR(i,1,n-1){
| ^~~
gift.cpp:12:9: error: ‘i’ was not declared in this scope
12 | FOR(i,1,n-1){
| ^
gift.cpp:4:34: note: in definition of macro ‘FOR’
4 | #define FOR(i,a,b) FOR(ll i=(a); i<=(b); ++i)
| ^
gift.cpp:12:13: error: ‘n’ was not declared in this scope
12 | FOR(i,1,n-1){
| ^
gift.cpp:4:38: note: in definition of macro ‘FOR’
4 | #define FOR(i,a,b) FOR(ll i=(a); i<=(b); ++i)
| ^