# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
979487 | ducksaysquack | Swapping Cities (APIO20_swap) | C++17 | 0 ms | 0 KiB |
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>
#define int long long
using namespace std;
bool yes = true;
void init(int n, int m, vector<int> u, vector<int> v, vector<int> w) {
yes = n == m;
}
int getMinimumFuelCapacity(int x, int y) {
return yes? max_element(begin(w),end(w)):-1;
}