Problem | ballgame |
---|---|
User | ThePwo |
Submission Time | 2025-02-13 11:08:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ballgame.cpp:7:15: error: ‘ll’ does not name a type
7 | int s, e, m; ll sum = 0, lz = 0;
| ^~
ballgame.cpp:27:28: error: ‘ll’ has not been declared
27 | void update(int S, int E, ll v) {
| ^~
ballgame.cpp:36:2: error: ‘ll’ does not name a type
36 | ll query(int p) {
| ^~
ballgame.cpp: In member function ‘void node::push()’:
ballgame.cpp:19:3: error: ‘sum’ was not declared in this scope
19 | sum = (sum + ((e - s + 1) * lz) % md) % md;
| ^~~
ballgame.cpp:19:31: error: ‘lz’ was not declared in this scope; did you mean ‘l’?
19 | sum = (sum + ((e - s + 1) * lz) % md) % md;
| ^~
| l
ballgame.cpp:21:7: error: ‘struct node’ has no member named ‘lz’; did you mean ‘l’?
21 | l->lz = (l->lz + lz) % md;
| ^~
| l
ballgame.cpp:21:16: error: ‘s