Submission #394266

#TimeUsernameProblemLanguageResultExecution timeMemory
394266SugardorjSwapping Cities (APIO20_swap)C++14
6 / 100
107 ms5856 KiB
#include "swap.h" #include <bits/stdc++.h> using namespace std; int i,j,s,t; int a[261523],b[234567],l,r,tt,k,y,z,n,m,N,M,x; vector<int>te,so, p[1234],an; void init(int NN, int MM, vector <int> U,vector <int> V, vector <int> W) { m= W[0]; N=NN; M=MM; for (auto u:W) m=max (m,u); } int getMinimumFuelCapacity(int u, int v) { if (N==M+1) return -1; return m; }
#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...