Problem | poklon |
---|---|
User | haydendoo |
Submission Time | 2023-01-11 17:14:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
poklon.cpp: In function ‘int main()’:
poklon.cpp:134:100: error: no matching function for call to ‘node::set(long long int&, int)’
134 | if(prev[j]!=-1 && prev[prev[j]]!=-1 && prev[prev[prev[j]]]!=-1) root->set(prev[prev[prev[j]]], 0);
| ^
poklon.cpp:64:10: note: candidate: ‘void node::set(long long int, long long int, ll)’
64 | void set(int x, int y, ll v) {
| ^~~
poklon.cpp:64:10: note: candidate expects 3 arguments, 2 provided