Submission #724071

#TimeUsernameProblemLanguageResultExecution timeMemory
724071ismayilCatfish Farm (IOI22_fish)C++17
0 / 100
87 ms14576 KiB
#pragma GCC optimize("O3") #include "fish.h" #include <bits/stdc++.h> #define ll long long #define endl '\n' using namespace std; ll max_weights(int N, int M, vector<int> X, vector<int> Y, vector<int> W) { ll ans[2] = {0}; 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...