Problem fish
User kxd
Submission Time 2024-05-16 16:57:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fish.cpp:35:5: error: ambiguating new declaration of ‘int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’
35 | int max_weights(int n, int m, vector<int> x, vector<int> y, vector<int> w) {
| ^~~~~~~~~~~
In file included from fish.cpp:33:
fish.h:3:11: note: old declaration ‘long long int max_weights(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’
3 | long long max_weights(int N, int M, std::vector<int> X, std::vector<int> Y,
| ^~~~~~~~~~~