Submission #625974

#TimeUsernameProblemLanguageResultExecution timeMemory
625974sword060Catfish Farm (IOI22_fish)C++17
0 / 100
91 ms8036 KiB
#include <bits/stdc++.h> #include "fish.h" using namespace std; long long max_weights(int x,int k,vector<int> a,vector<int> b,vector<int> c){ long long p[x+2]; for(int i=0;i<x;i++)p[i]=0; for(int i=0;i<k;i++)p[a[i]]+=c[i]; return max(p[0],p[1]); }
#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...