#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];
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
67 ms |
10324 KB |
3rd lines differ - on the 1st token, expected: '39049160', found: '19524580' |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
344 KB |
3rd lines differ - on the 1st token, expected: '1627540', found: '102' |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
67 ms |
10324 KB |
3rd lines differ - on the 1st token, expected: '39049160', found: '19524580' |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
67 ms |
10324 KB |
3rd lines differ - on the 1st token, expected: '39049160', found: '19524580' |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
67 ms |
10324 KB |
3rd lines differ - on the 1st token, expected: '39049160', found: '19524580' |
2 |
Halted |
0 ms |
0 KB |
- |