Problem | shamelessad4 |
---|---|
User | wrizz69 |
Submission Time | 2024-12-11 09:44:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shamelessad4.cpp: In function ‘int32_t main()’:
shamelessad4.cpp:71:28: error: no matching function for call to ‘node::update(long long int&, long long int&)’
71 | root -> update(i, a);
| ^
shamelessad4.cpp:41:10: note: candidate: ‘void node::update(long long int, long long int, long long int)’
41 | void update(int S, int E, int V){ //add V to all S~E
| ^~~~~~
shamelessad4.cpp:41:10: note: candidate expects 3 arguments, 2 provided