Submission #965939

#TimeUsernameProblemLanguageResultExecution timeMemory
965939Darren0724Swapping Cities (APIO20_swap)C++17
6 / 100
72 ms12220 KiB
#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 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...