#include "swap.h"
#include <bits/stdc++.h>
using namespace std;
int mx = -1;
void init(int N, int M,
std::vector<int> U, std::vector<int> V, std::vector<int> W) {
if (M == N){
for (auto x : W) mx = max(mx, x);
}
}
int getMinimumFuelCapacity(int X, int Y) {
return mx;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Output is correct |
2 |
Correct |
1 ms |
212 KB |
Output is correct |
3 |
Correct |
1 ms |
212 KB |
Output is correct |
4 |
Correct |
1 ms |
304 KB |
Output is correct |
5 |
Correct |
1 ms |
340 KB |
Output is correct |
6 |
Correct |
1 ms |
212 KB |
Output is correct |
7 |
Correct |
1 ms |
340 KB |
Output is correct |
8 |
Correct |
1 ms |
340 KB |
Output is correct |
9 |
Correct |
19 ms |
3776 KB |
Output is correct |
10 |
Correct |
23 ms |
4496 KB |
Output is correct |
11 |
Correct |
23 ms |
4488 KB |
Output is correct |
12 |
Correct |
29 ms |
4672 KB |
Output is correct |
13 |
Correct |
24 ms |
4688 KB |
Output is correct |
14 |
Correct |
23 ms |
4164 KB |
Output is correct |
15 |
Correct |
64 ms |
8624 KB |
Output is correct |
16 |
Correct |
64 ms |
8572 KB |
Output is correct |
17 |
Correct |
65 ms |
8848 KB |
Output is correct |
18 |
Correct |
70 ms |
8768 KB |
Output is correct |
19 |
Correct |
39 ms |
6020 KB |
Output is correct |
20 |
Correct |
92 ms |
9636 KB |
Output is correct |
21 |
Correct |
67 ms |
9964 KB |
Output is correct |
22 |
Correct |
72 ms |
10264 KB |
Output is correct |
23 |
Correct |
68 ms |
10264 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Output is correct |
2 |
Correct |
1 ms |
212 KB |
Output is correct |
3 |
Incorrect |
64 ms |
8012 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Output is correct |
2 |
Correct |
1 ms |
212 KB |
Output is correct |
3 |
Correct |
1 ms |
212 KB |
Output is correct |
4 |
Correct |
1 ms |
304 KB |
Output is correct |
5 |
Correct |
1 ms |
340 KB |
Output is correct |
6 |
Correct |
1 ms |
212 KB |
Output is correct |
7 |
Correct |
1 ms |
340 KB |
Output is correct |
8 |
Correct |
1 ms |
340 KB |
Output is correct |
9 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
10 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Output is correct |
2 |
Correct |
1 ms |
212 KB |
Output is correct |
3 |
Correct |
1 ms |
212 KB |
Output is correct |
4 |
Correct |
1 ms |
304 KB |
Output is correct |
5 |
Correct |
1 ms |
340 KB |
Output is correct |
6 |
Correct |
1 ms |
212 KB |
Output is correct |
7 |
Correct |
1 ms |
340 KB |
Output is correct |
8 |
Correct |
1 ms |
340 KB |
Output is correct |
9 |
Correct |
19 ms |
3776 KB |
Output is correct |
10 |
Correct |
23 ms |
4496 KB |
Output is correct |
11 |
Correct |
23 ms |
4488 KB |
Output is correct |
12 |
Correct |
29 ms |
4672 KB |
Output is correct |
13 |
Correct |
24 ms |
4688 KB |
Output is correct |
14 |
Correct |
23 ms |
4164 KB |
Output is correct |
15 |
Correct |
64 ms |
8624 KB |
Output is correct |
16 |
Correct |
64 ms |
8572 KB |
Output is correct |
17 |
Correct |
65 ms |
8848 KB |
Output is correct |
18 |
Correct |
70 ms |
8768 KB |
Output is correct |
19 |
Incorrect |
64 ms |
8012 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |