#include "fish.h"
#include "fish.cpp"
#include <cassert>
#include <cstdio>
#include <vector>
int main() {
int N, M;
freopen("mysample.in","r",stdin);
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;
}
Compilation message
fish.cpp:2:10: fatal error: fish.cpp: No such file or directory
2 | #include "fish.cpp"
| ^~~~~~~~~~
compilation terminated.