# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
979487 | 2024-05-11T06:27:58 Z | ducksaysquack | Swapping Cities (APIO20_swap) | C++17 | 0 ms | 0 KB |
#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; }