Submission #1016589

#TimeUsernameProblemLanguageResultExecution timeMemory
1016589AriadnaTruck Driver (IOI23_deliveries)C++17
8 / 100
104 ms10456 KiB
#include <bits/stdc++.h> #define ll long long using namespace std; ll t; vector<int> w; void init(int N, vector<int> U, vector<int> V, vector<int> T, vector<int> W) { w = W; t = T[0]; } ll max_time(int S, int X) { w[S] = X; return 2*t*(ll)(min(w[0]+1, w[1])); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...