Problem | shamelessad4 |
---|---|
User | Henries |
Submission Time | 2024-12-11 13:08:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shamelessad4.cpp: In member function ‘void node::build(const std::vector<long long int>&)’:
shamelessad4.cpp:24:46: error: ‘MOD’ was not declared in this scope
24 | val = (left->val + right->val) % MOD;
| ^~~
shamelessad4.cpp: In member function ‘void node::prop()’:
shamelessad4.cpp:29:34: error: ‘MOD’ was not declared in this scope
29 | val = (val * lazy) % MOD;
| ^~~
shamelessad4.cpp: In member function ‘void node::upd(long long int, long long int, long long int)’:
shamelessad4.cpp:41:33: error: ‘MOD’ was not declared in this scope
41 | lazy = (lazy * v) % MOD;
| ^~~
shamelessad4.cpp:47:42: error: ‘MOD’ was not declared in this scope
47 | val = (left->val + right->val) % MOD;
| ^~~
shamelessad4.