Problem | bunnyscore |
---|---|
User | chenweilian |
Submission Time | 2024-02-11 11:48:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bunnyscore.cpp: In function ‘void init(int, int, int, int)’:
bunnyscore.cpp:57:12: error: ‘n’ was not declared in this scope
57 | REP(i, n) {
| ^
bunnyscore.cpp:14:41: note: in definition of macro ‘FOR’
14 | #define FOR(i, s, e) for(int i = s; i < e; i++)
| ^
bunnyscore.cpp:57:5: note: in expansion of macro ‘REP’
57 | REP(i, n) {
| ^~~
bunnyscore.cpp: In function ‘int query(int, int)’:
bunnyscore.cpp:74:20: error: ‘j’ was not declared in this scope
74 | if (par[l][j] && par[l][j] <= r) {
| ^