# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1210647 | qwusha | 메기 농장 (IOI22_fish) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
#include "fish.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;
}