#include "swap.h"
#include <bits/stdc++.h>
using namespace std;
int n,m;
vector<int> u,v,w;
void init(int N, int M, vector<int> U, vector<int> V, vector<int> W) {
n=N,m=M;
u=U,v=V,w=W;
}
int getMinimumFuelCapacity(int X, int Y) {
if(X==Y)return 0;
return -1;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Correct |
1 ms |
348 KB |
Output is correct |
3 |
Correct |
0 ms |
348 KB |
Output is correct |
4 |
Correct |
1 ms |
348 KB |
Output is correct |
5 |
Correct |
1 ms |
348 KB |
Output is correct |
6 |
Correct |
1 ms |
348 KB |
Output is correct |
7 |
Correct |
1 ms |
348 KB |
Output is correct |
8 |
Correct |
1 ms |
444 KB |
Output is correct |
9 |
Correct |
29 ms |
4180 KB |
Output is correct |
10 |
Correct |
26 ms |
5132 KB |
Output is correct |
11 |
Correct |
23 ms |
5036 KB |
Output is correct |
12 |
Correct |
34 ms |
5312 KB |
Output is correct |
13 |
Correct |
36 ms |
5460 KB |
Output is correct |
14 |
Correct |
23 ms |
4700 KB |
Output is correct |
15 |
Correct |
71 ms |
8308 KB |
Output is correct |
16 |
Correct |
94 ms |
8192 KB |
Output is correct |
17 |
Correct |
97 ms |
8512 KB |
Output is correct |
18 |
Correct |
75 ms |
8344 KB |
Output is correct |
19 |
Incorrect |
58 ms |
4692 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Correct |
1 ms |
348 KB |
Output is correct |
3 |
Incorrect |
64 ms |
7832 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Correct |
1 ms |
348 KB |
Output is correct |
3 |
Correct |
0 ms |
348 KB |
Output is correct |
4 |
Correct |
1 ms |
348 KB |
Output is correct |
5 |
Correct |
1 ms |
348 KB |
Output is correct |
6 |
Correct |
1 ms |
348 KB |
Output is correct |
7 |
Correct |
1 ms |
348 KB |
Output is correct |
8 |
Correct |
1 ms |
444 KB |
Output is correct |
9 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
10 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Correct |
1 ms |
348 KB |
Output is correct |
3 |
Correct |
0 ms |
348 KB |
Output is correct |
4 |
Correct |
1 ms |
348 KB |
Output is correct |
5 |
Correct |
1 ms |
348 KB |
Output is correct |
6 |
Correct |
1 ms |
348 KB |
Output is correct |
7 |
Correct |
1 ms |
348 KB |
Output is correct |
8 |
Correct |
1 ms |
444 KB |
Output is correct |
9 |
Correct |
29 ms |
4180 KB |
Output is correct |
10 |
Correct |
26 ms |
5132 KB |
Output is correct |
11 |
Correct |
23 ms |
5036 KB |
Output is correct |
12 |
Correct |
34 ms |
5312 KB |
Output is correct |
13 |
Correct |
36 ms |
5460 KB |
Output is correct |
14 |
Correct |
23 ms |
4700 KB |
Output is correct |
15 |
Correct |
71 ms |
8308 KB |
Output is correct |
16 |
Correct |
94 ms |
8192 KB |
Output is correct |
17 |
Correct |
97 ms |
8512 KB |
Output is correct |
18 |
Correct |
75 ms |
8344 KB |
Output is correct |
19 |
Incorrect |
64 ms |
7832 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |