# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
739664 | 2023-05-11T00:42:17 Z | chenyan | Swapping Cities (APIO20_swap) | C++17 | 0 ms | 0 KB |
#include<bits/stdc++.h> using namespace std; #define int long long #define ld long double #define pii pair<int,int> #define pdd pair<ld,ld> #define ff first #define ss second #define pb push_back #define eb emplace_back #define sz(x) ((int)x.size()) #define all(x) x.begin(),x.end() #define fastio ios::sync_with_stdio(0),cin.tie(0); #define nl '\n' #define mN 200010 int n,m; vector<pii>g[mN]; void init(int N,int M,vector<int>u,vector<int>v,vector<int>w){ n=N,m=M; for(int i=0;i<m;i++){ g[u[i]].pb({v[i],w[i]}); g[v[i]].pb({u[i],w[i]}); } } int getMinimumFuelCapacity(int x,int y){ return -1; } /* signed main(){ fastio; } */