Problem | pigeonnests |
---|---|
User | haydendoo |
Submission Time | 2023-02-16 18:00:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pigeonnests.cpp:349:9: error: expected constructor, destructor, or type conversion before ‘(’ token
349 | read(n,q);
| ^
pigeonnests.cpp:350:5: error: ‘root’ does not name a type
350 | root = new node(0,n-1);
| ^~~~
pigeonnests.cpp:53:26: error: expected unqualified-id before ‘for’
53 | #define F_OR(i, a, b, s) for (int i=(a); (s)>0?i<(b):i>(b); i+=(s))
| ^~~
pigeonnests.cpp:54:18: note: in expansion of macro ‘F_OR’
54 | #define F_OR1(e) F_OR(i, 0, e, 1)
| ^~~~
pigeonnests.cpp:58:34: note: in expansion of macro ‘F_OR1’
58 | #define GET5(a, b, c, d, e, ...) e
| ^
pigeonnests.cpp:59:20: note: in expansion of macro ‘GET5’
59 | #define F_ORC(...) GET5(__VA_ARGS__, F_OR4, F_OR3, F_OR2, F_OR1)
| ^~~~
pigeonnests.cpp:60:18: note: in expansion of macro ‘F_ORC’
60