Problem 1609
User Potato3218
Submission Time 2023-01-01 17:29:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

1609.cpp: In function ‘int main()’:
1609.cpp:46:43: error: no matching function for call to ‘node::update(int, int)’
46 | for(auto itr: nodes) itr-> update(5,10);
| ^
1609.cpp:24:10: note: candidate: ‘void node::update(long long int, long long int, long long int)’
24 | void update(int _s, int _e, int k){
| ^~~~~~
1609.cpp:24:10: note: candidate expects 3 arguments, 2 provided