Submission #729817

#TimeUsernameProblemLanguageResultExecution timeMemory
729817caganyanmazCatfish Farm (IOI22_fish)C++17
0 / 100
22 ms2124 KiB
#include <bits/stdc++.h> using namespace std; int64_t max_weights(int n, int m, vector<int> x, vector<int> y, vector<int> w) { int64_t l_sum = 0; int64_t r_sum = 0; for (int i = 0; i < m; i++) if (x[i] == 0) l_sum++; else if (x[i] == 1) r_sum++; else assert(false); return max(l_sum, r_sum); }
#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...