# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
919189 | 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;
int l;
vector<int> w;
void init(int N, vector<int> U, vector<int> V, vector<int> T, vector<int> W){
w=W;
l=T[0];
}
long long max_time(int s, int x){
w[s]=x;
return 2*l*min(w[0], w[1]);
}