# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1210645 | qwusha | Catfish Farm (IOI22_fish) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
typedef long long ll;
typedef long double ld;
mt19937 rnd(chrono::high_resolution_clock::now().time_since_epoch().count());
#define int long long
int inf = 1e18;
int max_weights(int n, int m, vector<int> x, vector<int> y, vector<int> w) {
int res = 0;
for (int i = 0; i < m; i++) {
res += w[i];
}
return res;
}