제출 #637785

#제출 시각아이디문제언어결과실행 시간메모리
637785aris12345678메기 농장 (IOI22_fish)C++17
0 / 100
88 ms7276 KiB
#include "fish.h" #include <bits/stdc++.h> using namespace std; typedef long long ll; ll max_weights(int n, int m, vector<int> x, vector<int> y, vector<int> w) { ll first = 0LL, second = 0LL; for(int i = 0; i < m; i++) { if(x[i] == 0) first += 1LL*w[i]; else second += 1LL*w[i]; } return max(first, second); } // int main() { // // 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...