| Problem | nis |
|---|---|
| User | Henries |
| Submission Time | 2025-01-24 11:04:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
nis.cpp: In member function ‘void node::upd(int, int)’:
nis.cpp:32:24: error: invalid operands of types ‘node*’ and ‘int’ to binary ‘operator%’
32 | left->upd(p,v);left %= MOD;
| ~~~~~^~~~~~
nis.cpp:32:27: error: in evaluation of ‘operator%=(struct node*, int)’
32 | left->upd(p,v);left %= MOD;
| ^~~
nis.cpp:35:26: error: invalid operands of types ‘node*’ and ‘int’ to binary ‘operator%’
35 | right->upd(p,v);right %= MOD;
| ~~~~~~^~~~~~
nis.cpp:35:29: error: in evaluation of ‘operator%=(struct node*, int)’
35 | right->upd(p,v);right %= MOD;
| ^~~