Problem fertile
User PlayVoltz
Submission Time 2024-01-08 21:01:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fertile.cpp: In function ‘int32_t main()’:
fertile.cpp:69:58: error: no matching function for call to ‘node::up(__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type, __gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type)’
69 | lct->up(-vect[j-1], dp[i-1][j-1]+(j+1)*vect[j]-psum[j]);
| ^
fertile.cpp:43:7: note: candidate: ‘void node::up(line)’
43 | void up(line nl){
| ^~
fertile.cpp:43:7: note: candidate expects 1 argument, 2 provided