Problem | deforestation |
---|---|
User | blackscreen1 |
Submission Time | 2023-11-19 10:30:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
deforestation.cpp:36:2: error: invalid preprocessing directive #defube; did you mean #define?
36 | #defube int long long
| ^~~~~~
| define
deforestation.cpp:61:19: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
61 | pair<ll, pll> a[n];
| ^
| yn
deforestation.cpp:14:21: error: expected unqualified-id before ‘for’
14 | #define iloop(m, h) for (ll i = m; i != h; i += (m < h ? 1 : -1))
| ^~~
deforestation.cpp:62:3: note: in expansion of macro ‘iloop’
62 | iloop(0, n) {
| ^~~~~
deforestation.cpp:14:36: error: ‘i’ does not name a type
14 | #define iloop(m, h) for (ll i = m; i != h; i += (m < h ? 1 : -1))
| ^
deforestation.cpp:62:3: note: in expansion of macro ‘iloop’
62 | iloop(0, n) {
| ^~~~~
deforestation.cpp:14:44: error: ‘i’ does not na