Problem | cokemoresugar |
---|---|
User | wrizz69 |
Submission Time | 2024-12-11 11:33:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cokemoresugar.cpp: In function ‘int32_t main()’:
cokemoresugar.cpp:95:20: error: no matching function for call to ‘node::update(long long int&, long long int&)’
95 | root->update(i, c);
| ^
cokemoresugar.cpp:28:7: note: candidate: ‘void node::update(long long int, long long int, long long int*)’
28 | void update(int X, int V, int array[]) { //change the X element to be V value, point update
| ^~~~~~
cokemoresugar.cpp:28:7: note: candidate expects 3 arguments, 2 provided