#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 |
332 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 |
332 KB |
Output is correct |
9 |
Correct |
27 ms |
2368 KB |
Output is correct |
10 |
Correct |
33 ms |
2692 KB |
Output is correct |
11 |
Correct |
46 ms |
2728 KB |
Output is correct |
12 |
Correct |
38 ms |
2880 KB |
Output is correct |
13 |
Correct |
34 ms |
2884 KB |
Output is correct |
14 |
Correct |
33 ms |
2496 KB |
Output is correct |
15 |
Correct |
97 ms |
8608 KB |
Output is correct |
16 |
Correct |
106 ms |
8588 KB |
Output is correct |
17 |
Correct |
105 ms |
8732 KB |
Output is correct |
18 |
Correct |
109 ms |
8764 KB |
Output is correct |
19 |
Incorrect |
56 ms |
4876 KB |
Output isn't correct |
20 |
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 |
Incorrect |
119 ms |
4668 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 |
332 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 |
332 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 |
332 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 |
332 KB |
Output is correct |
9 |
Correct |
27 ms |
2368 KB |
Output is correct |
10 |
Correct |
33 ms |
2692 KB |
Output is correct |
11 |
Correct |
46 ms |
2728 KB |
Output is correct |
12 |
Correct |
38 ms |
2880 KB |
Output is correct |
13 |
Correct |
34 ms |
2884 KB |
Output is correct |
14 |
Correct |
33 ms |
2496 KB |
Output is correct |
15 |
Correct |
97 ms |
8608 KB |
Output is correct |
16 |
Correct |
106 ms |
8588 KB |
Output is correct |
17 |
Correct |
105 ms |
8732 KB |
Output is correct |
18 |
Correct |
109 ms |
8764 KB |
Output is correct |
19 |
Incorrect |
119 ms |
4668 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
204 KB |
Output isn't correct |