Submission #769119

#TimeUsernameProblemLanguageResultExecution timeMemory
769119jack715Catfish Farm (IOI22_fish)C++17
0 / 100
16 ms3536 KiB
#include "fish.h" #include <vector> void start() { //1 call } long long max_weights(int N, int M, std::vector<int> X, std::vector<int> Y, std::vector<int> W) { //interactive offline int a = 0, b = 0; for (int i = 0; i < M; i++) { if (X[i] == 0) a += W[i]; else b += W[i]; } if (a < b) return b; return a; }
#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...