Problem valves
User InfinityIntegral
Submission Time 2022-12-28 14:07:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

valves.cpp: In member function ‘void node::flow(long long int, long long int)’:
valves.cpp:83:19: error: no matching function for call to ‘node::flow(long long int)’
83 | flow (nflow + 1);
| ^
valves.cpp:80:7: note: candidate: ‘void node::flow(long long int, long long int)’
80 | void flow(int nflow, int endflow){
| ^~~~
valves.cpp:80:7: note: candidate expects 2 arguments, 1 provided
valves.cpp:90:19: error: no matching function for call to ‘node::flow(long long int)’
90 | flow (nflow + 1);
| ^
valves.cpp:80:7: note: candidate: ‘void node::flow(long long int, long long int)’
80 | void flow(int nflow, int endflow){
| ^~~~
valves.cpp:80:7: note: candidate expects 2 arguments, 1 provided