Submission #625843

#TimeUsernameProblemLanguageResultExecution timeMemory
625843ionan6ixCatfish Farm (IOI22_fish)C++17
3 / 100
86 ms7268 KiB
#include "fish.h" #include <vector> long long max_weights(int N, int M, std::vector<int> X, std::vector<int> Y, std::vector<int> W) { bool flag = true; for(auto it:X) if(it%2) { flag = false; break; } if(flag) { long long sol = 0; for(auto it:W) sol+=it; return sol; } return 0; }
#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...