Submission #777900

#TimeUsernameProblemLanguageResultExecution timeMemory
777900Mouad_oujCatfish Farm (IOI22_fish)C++17
0 / 100
70 ms7564 KiB
#include "fish.h"//sub2 #include <bits/stdc++.h> using namespace std; long long max_weights(int n, int m,vector<int> x,vector<int> y,vector<int> w) { long long c=0,b=0; for(int a=0;a<m;a++) { if(x[a]==0) c+=w[a]; else b+=w[a]; } return max(b,c); }
#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...