# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
834670 | GordonRemzi007 | 메기 농장 (IOI22_fish) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <iostream>
#include <vector>
using namespace std;
long long max_weights(int n, int m, int x[], int y[], int w[]) {
int res = 0;
for(int i = 0; i < m; i++) res+=w[i];
cout << res << "\n";
}