제출 #769119

#제출 시각아이디문제언어결과실행 시간메모리
769119jack715메기 농장 (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...