#include <bits/stdc++.h>
using namespace std;
int maxi = -1;
void init(int n, int m, vector<int> u, vector<int> v, vector<int> w) {
if (m >= n) maxi = *max_element(w.begin(), w.end());
}
int getMinimumFuelCapacity(int x, int y) {
return maxi;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
204 KB |
Output is correct |
2 |
Correct |
1 ms |
204 KB |
Output is correct |
3 |
Correct |
1 ms |
204 KB |
Output is correct |
4 |
Correct |
1 ms |
204 KB |
Output is correct |
5 |
Correct |
1 ms |
204 KB |
Output is correct |
6 |
Correct |
1 ms |
204 KB |
Output is correct |
7 |
Correct |
1 ms |
204 KB |
Output is correct |
8 |
Correct |
1 ms |
204 KB |
Output is correct |
9 |
Correct |
38 ms |
2240 KB |
Output is correct |
10 |
Correct |
33 ms |
2628 KB |
Output is correct |
11 |
Correct |
33 ms |
2544 KB |
Output is correct |
12 |
Correct |
37 ms |
2748 KB |
Output is correct |
13 |
Correct |
35 ms |
2736 KB |
Output is correct |
14 |
Correct |
33 ms |
2380 KB |
Output is correct |
15 |
Correct |
96 ms |
4360 KB |
Output is correct |
16 |
Correct |
95 ms |
4260 KB |
Output is correct |
17 |
Correct |
101 ms |
4396 KB |
Output is correct |
18 |
Correct |
104 ms |
4416 KB |
Output is correct |
19 |
Correct |
58 ms |
3988 KB |
Output is correct |
20 |
Correct |
103 ms |
9612 KB |
Output is correct |
21 |
Correct |
113 ms |
9988 KB |
Output is correct |
22 |
Correct |
126 ms |
10128 KB |
Output is correct |
23 |
Correct |
136 ms |
10244 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
204 KB |
Output is correct |
2 |
Correct |
1 ms |
204 KB |
Output is correct |
3 |
Incorrect |
90 ms |
4336 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
204 KB |
Output is correct |
2 |
Correct |
1 ms |
204 KB |
Output is correct |
3 |
Correct |
1 ms |
204 KB |
Output is correct |
4 |
Correct |
1 ms |
204 KB |
Output is correct |
5 |
Correct |
1 ms |
204 KB |
Output is correct |
6 |
Correct |
1 ms |
204 KB |
Output is correct |
7 |
Correct |
1 ms |
204 KB |
Output is correct |
8 |
Correct |
1 ms |
204 KB |
Output is correct |
9 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
204 KB |
Output is correct |
2 |
Correct |
1 ms |
204 KB |
Output is correct |
3 |
Correct |
1 ms |
204 KB |
Output is correct |
4 |
Correct |
1 ms |
204 KB |
Output is correct |
5 |
Correct |
1 ms |
204 KB |
Output is correct |
6 |
Correct |
1 ms |
204 KB |
Output is correct |
7 |
Correct |
1 ms |
204 KB |
Output is correct |
8 |
Correct |
1 ms |
204 KB |
Output is correct |
9 |
Correct |
38 ms |
2240 KB |
Output is correct |
10 |
Correct |
33 ms |
2628 KB |
Output is correct |
11 |
Correct |
33 ms |
2544 KB |
Output is correct |
12 |
Correct |
37 ms |
2748 KB |
Output is correct |
13 |
Correct |
35 ms |
2736 KB |
Output is correct |
14 |
Correct |
33 ms |
2380 KB |
Output is correct |
15 |
Correct |
96 ms |
4360 KB |
Output is correct |
16 |
Correct |
95 ms |
4260 KB |
Output is correct |
17 |
Correct |
101 ms |
4396 KB |
Output is correct |
18 |
Correct |
104 ms |
4416 KB |
Output is correct |
19 |
Incorrect |
90 ms |
4336 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |