#include "swap.h"
#include <bits/stdc++.h>
using namespace std;
int ans = -1;
void init(int N, int M, vector<int> U, vector<int> V, vector<int> W) {
if (M == N) {
ans = *max_element(W.begin(), W.end());
}
}
int getMinimumFuelCapacity(int X, int Y) {
return ans;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Output is correct |
2 |
Correct |
1 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
300 KB |
Output is correct |
4 |
Correct |
1 ms |
300 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 |
212 KB |
Output is correct |
8 |
Correct |
1 ms |
340 KB |
Output is correct |
9 |
Correct |
19 ms |
2248 KB |
Output is correct |
10 |
Correct |
22 ms |
2592 KB |
Output is correct |
11 |
Correct |
22 ms |
2568 KB |
Output is correct |
12 |
Correct |
24 ms |
2656 KB |
Output is correct |
13 |
Correct |
25 ms |
2764 KB |
Output is correct |
14 |
Correct |
22 ms |
2380 KB |
Output is correct |
15 |
Correct |
61 ms |
4400 KB |
Output is correct |
16 |
Correct |
62 ms |
4448 KB |
Output is correct |
17 |
Correct |
63 ms |
4544 KB |
Output is correct |
18 |
Correct |
63 ms |
4492 KB |
Output is correct |
19 |
Correct |
38 ms |
4116 KB |
Output is correct |
20 |
Correct |
67 ms |
9628 KB |
Output is correct |
21 |
Correct |
64 ms |
9920 KB |
Output is correct |
22 |
Correct |
66 ms |
10184 KB |
Output is correct |
23 |
Correct |
67 ms |
10224 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Output is correct |
2 |
Correct |
1 ms |
212 KB |
Output is correct |
3 |
Incorrect |
59 ms |
4260 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Output is correct |
2 |
Correct |
1 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
300 KB |
Output is correct |
4 |
Correct |
1 ms |
300 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 |
212 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 |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Output is correct |
2 |
Correct |
1 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
300 KB |
Output is correct |
4 |
Correct |
1 ms |
300 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 |
212 KB |
Output is correct |
8 |
Correct |
1 ms |
340 KB |
Output is correct |
9 |
Correct |
19 ms |
2248 KB |
Output is correct |
10 |
Correct |
22 ms |
2592 KB |
Output is correct |
11 |
Correct |
22 ms |
2568 KB |
Output is correct |
12 |
Correct |
24 ms |
2656 KB |
Output is correct |
13 |
Correct |
25 ms |
2764 KB |
Output is correct |
14 |
Correct |
22 ms |
2380 KB |
Output is correct |
15 |
Correct |
61 ms |
4400 KB |
Output is correct |
16 |
Correct |
62 ms |
4448 KB |
Output is correct |
17 |
Correct |
63 ms |
4544 KB |
Output is correct |
18 |
Correct |
63 ms |
4492 KB |
Output is correct |
19 |
Incorrect |
59 ms |
4260 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |