Submission #1077114

#TimeUsernameProblemLanguageResultExecution timeMemory
1077114pccCatfish Farm (IOI22_fish)C++17
3 / 100
68 ms10852 KiB
#include "fish.h" #include <vector> #include <bits/stdc++.h> using namespace std; #define ll long long long long max_weights(int N, int M, std::vector<int> X, std::vector<int> Y, std::vector<int> W) { ll ans[2] = {}; for(int i = 0;i<M;i++){ ans[X[i]&1] += 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...