#include "deliveries.h"
#include <bits/stdc++.h>
using namespace std;
vector <int> w, t;
void init(int N, std::vector<int> U, std::vector<int> V, std::vector<int> T, std::vector<int> W) {
w = W;
t = T;
return;
}
long long max_time(int S, int X) {
w[S] = X;
return 1ll * min(w[0] + 1, w[1]) * t[0] * 2;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
66 ms |
7648 KB |
Output is correct |
2 |
Correct |
68 ms |
10068 KB |
Output is correct |
3 |
Correct |
67 ms |
10324 KB |
Output is correct |
4 |
Correct |
67 ms |
10308 KB |
Output is correct |
5 |
Correct |
75 ms |
10576 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
344 KB |
3rd lines differ - on the 1st token, expected: '1627540', found: '204' |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
66 ms |
7648 KB |
Output is correct |
2 |
Correct |
68 ms |
10068 KB |
Output is correct |
3 |
Correct |
67 ms |
10324 KB |
Output is correct |
4 |
Correct |
67 ms |
10308 KB |
Output is correct |
5 |
Correct |
75 ms |
10576 KB |
Output is correct |
6 |
Incorrect |
1 ms |
348 KB |
3rd lines differ - on the 1st token, expected: '45306', found: '144' |
7 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
66 ms |
7648 KB |
Output is correct |
2 |
Correct |
68 ms |
10068 KB |
Output is correct |
3 |
Correct |
67 ms |
10324 KB |
Output is correct |
4 |
Correct |
67 ms |
10308 KB |
Output is correct |
5 |
Correct |
75 ms |
10576 KB |
Output is correct |
6 |
Incorrect |
1 ms |
344 KB |
3rd lines differ - on the 1st token, expected: '129238', found: '176' |
7 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
66 ms |
7648 KB |
Output is correct |
2 |
Correct |
68 ms |
10068 KB |
Output is correct |
3 |
Correct |
67 ms |
10324 KB |
Output is correct |
4 |
Correct |
67 ms |
10308 KB |
Output is correct |
5 |
Correct |
75 ms |
10576 KB |
Output is correct |
6 |
Incorrect |
1 ms |
344 KB |
3rd lines differ - on the 1st token, expected: '1627540', found: '204' |
7 |
Halted |
0 ms |
0 KB |
- |