game.cpp: In function 'void update1(long long int, long long int, long long int, node&)':
game.cpp:59:31: error: too many arguments to function 'void update(int, int, long long int)'
59 | update(r,c,v,*n.ll);
| ^
In file included from game.cpp:2:
game.h:9:6: note: declared here
9 | void update(int P, int Q, long long K);
| ^~~~~~
game.cpp:73:31: error: too many arguments to function 'void update(int, int, long long int)'
73 | update(r,c,v,*n.lr);
| ^
In file included from game.cpp:2:
game.h:9:6: note: declared here
9 | void update(int P, int Q, long long K);
| ^~~~~~
game.cpp:91:31: error: too many arguments to function 'void update(int, int, long long int)'
91 | update(r,c,v,*n.rl);
| ^
In file included from game.cpp:2:
game.h:9:6: note: declared here
9 | void update(int P, int Q, long long K);
| ^~~~~~
game.cpp:105:31: error: too many arguments to function 'void update(int, int, long long int)'
105 | update(r,c,v,*n.rr);
| ^
In file included from game.cpp:2:
game.h:9:6: note: declared here
9 | void update(int P, int Q, long long K);
| ^~~~~~
game.cpp: In function 'long long int calculate1(long long int, long long int, long long int, long long int, node&)':
game.cpp:124:54: error: too many arguments to function 'long long int calculate(int, int, int, int)'
124 | long long t = calculate(lx,ty,rx,by,*n.ll);
| ^
In file included from game.cpp:2:
game.h:10:11: note: declared here
10 | long long calculate(int P, int Q, int U, int V);
| ^~~~~~~~~
game.cpp:130:54: error: too many arguments to function 'long long int calculate(int, int, int, int)'
130 | long long t = calculate(lx,ty,rx,by,*n.lr);
| ^
In file included from game.cpp:2:
game.h:10:11: note: declared here
10 | long long calculate(int P, int Q, int U, int V);
| ^~~~~~~~~
game.cpp:140:54: error: too many arguments to function 'long long int calculate(int, int, int, int)'
140 | long long t = calculate(lx,ty,rx,by,*n.rl);
| ^
In file included from game.cpp:2:
game.h:10:11: note: declared here
10 | long long calculate(int P, int Q, int U, int V);
| ^~~~~~~~~
game.cpp:146:54: error: too many arguments to function 'long long int calculate(int, int, int, int)'
146 | long long t = calculate(lx,ty,rx,by,*n.rr);
| ^
In file included from game.cpp:2:
game.h:10:11: note: declared here
10 | long long calculate(int P, int Q, int U, int V);
| ^~~~~~~~~
game.cpp: In function 'long long int calculate(int, int, int, int)':
game.cpp:162:1: warning: no return statement in function returning non-void [-Wreturn-type]
162 | }
| ^