This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "swap.h"
#include <bits/stdc++.h>
using namespace std;
const int N=200005;
int n,m,mx;
vector<int> u,v,w;
vector<int> deg(N);
void init(int N, int M, vector<int> U, vector<int> V, vector<int> W) {
n=N,m=M;
u=U,v=V,w=W;
mx=*max_element(w.begin(),w.end());
/*for(int i=0;i<M;i++){
deg[]
}*/
}
int getMinimumFuelCapacity(int X, int Y) {
if(m==n)return mx;
return -1;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |