Submission #679689

#TimeUsernameProblemLanguageResultExecution timeMemory
679689boyliguanhanCatfish Farm (IOI22_fish)C++17
3 / 100
87 ms13896 KiB
#include<bits/stdc++.h> using namespace std; long long max_weights(int n, int m, vector<int> x, vector<int> y, vector<int> w){ long long res[2]{}; for(int i = 0; i < m; i++) res[x[i]%2]+=w[i]; return max(res[0], res[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...