Problem shamelessad4
User Henries
Submission Time 2024-12-11 21:50:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shamelessad4.cpp: In member function ‘void node::build(const std::vector<long long int>&)’:
shamelessad4.cpp:29:46: error: ‘MOD’ was not declared in this scope
29 | val = (left->val * right->val) % MOD;
| ^~~
shamelessad4.cpp: In member function ‘void times::build(const std::vector<long long int>&)’:
shamelessad4.cpp:90:46: error: ‘MOD’ was not declared in this scope
90 | val = (left->val * right->val) % MOD;
| ^~~