# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
919196 | PlayVoltz | Truck Driver (IOI23_deliveries) | 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 "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]);
}