Problem | manycolours |
---|---|
User | mingging1748 |
Submission Time | 2025-02-17 20:13:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
manycolours.cpp:67:59: error: expected ‘;’ at end of member declaration
67 | void update(int p, int l, int r, int v, int lq, int rq)
| ^
| ;
manycolours.cpp:68:9: error: expected unqualified-id before ‘if’
68 | if (lq <= l && r <= rq) {
| ^~
manycolours.cpp:73:18: error: ‘p’ has not been declared
73 | pushdown(p);
| ^
manycolours.cpp:73:19: error: ISO C++ forbids declaration of ‘pushdown’ with no type [-fpermissive]
73 | pushdown(p);
| ^
manycolours.cpp:73:9: error: ‘int segtree::pushdown(int)’ cannot be overloaded with ‘void segtree::pushdown(int)’
73 | pushdown(p);
| ^~~~~~~~
manycolours.cpp:49:10: note: previous declaration ‘void segtree::pushdown(int)’
49 | void pushdo