# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
919196 | 2024-01-31T12:49:16 Z | PlayVoltz | Truck Driver (IOI23_deliveries) | C++17 | 0 ms | 0 KB |
#include "deliveries.h" #include <bits/stdc+.h> using namespace std; #define int long long int l; vector<int> w; void init(signed N, vector<signed> U, vector<signed> V, vector<signed> T, vector<signed> W){ w=W; l=T[0]; } long long max_time(signed s, signed x){ w[s]=x; return 2*l*min(w[0], w[1]); }