Submission #1130641

#TimeUsernameProblemLanguageResultExecution timeMemory
1130641vibeduckCatfish Farm (IOI22_fish)C++20
0 / 100
19 ms2112 KiB
#include "fish.h" #include <vector> #include <bits/stdc++.h> using namespace std; long long max_weights(int N, int M, std::vector<int> X, std::vector<int> Y, std::vector<int> W) { int ans[2]; for (int i = 0; i < M; i++) ans[X[i]] += W[i]; return max(ans[0], ans[1]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...