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<signed> 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]+1, w[1]);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |