Problem bacteria
User blackscreen1
Submission Time 2023-06-10 10:49:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bacteria.cpp: In member function ‘void node::div(long long int, long long int)’:
bacteria.cpp:49:27: error: no matching function for call to ‘node::div(long long int&)’
49 | if (X <= m) l->div(X);
| ^
bacteria.cpp:43:8: note: candidate: ‘void node::div(long long int, long long int)’
43 | void div(ll X, ll T) {
| ^~~
bacteria.cpp:43:8: note: candidate expects 2 arguments, 1 provided
bacteria.cpp:50:20: error: no matching function for call to ‘node::div(long long int&)’
50 | else r->div(X);
| ^
bacteria.cpp:43:8: note: candidate: ‘void node::div(long long int, long long int)’
43 | void div(ll X, ll T) {
| ^~~
bacteria.cpp:43:8: note: candidate expects 2 arguments, 1 provided
bacteria.cpp: In function ‘int main()’:
bacteria.cpp:87:10: error: ‘a3’ was not declared in this scope; did you mean ‘a2’?
87 | cin >&g