#include "fish.h"
#include "catfish.cpp"
#include <cassert>
#include <cstdio>
#include <vector>
int main() {
int N, M;
assert(2 == scanf("%d %d", &N, &M));
std::vector<int> X(M), Y(M), W(M);
for (int i = 0; i < M; ++i) {
assert(3 == scanf("%d %d %d", &X[i], &Y[i], &W[i]));
}
long long result = max_weights(N, M, X, Y, W);
printf("%lld\n", result);
return 0;
}
/**
5 4
0 2 5
1 1 2
4 4 1
3 3 3
*/
Compilation message
fish.cpp:2:10: fatal error: catfish.cpp: No such file or directory
2 | #include "catfish.cpp"
| ^~~~~~~~~~~~~
compilation terminated.