#include "swap.h"
#include <bits/stdc++.h>
using namespace std;
const int N=200005;
int n,m,mx;
vector<int> u,v,w;
vector<int> deg(N);
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;
mx=*max_element(w.begin(),w.end());
/*for(int i=0;i<M;i++){
deg[]
}*/
}
int getMinimumFuelCapacity(int X, int Y) {
if(m==n)return 0;
return -1;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
1116 KB |
Output is correct |
2 |
Correct |
0 ms |
1116 KB |
Output is correct |
3 |
Correct |
1 ms |
1116 KB |
Output is correct |
4 |
Correct |
1 ms |
1116 KB |
Output is correct |
5 |
Correct |
1 ms |
1112 KB |
Output is correct |
6 |
Correct |
1 ms |
1116 KB |
Output is correct |
7 |
Correct |
1 ms |
1116 KB |
Output is correct |
8 |
Correct |
1 ms |
1116 KB |
Output is correct |
9 |
Correct |
19 ms |
3932 KB |
Output is correct |
10 |
Correct |
23 ms |
4584 KB |
Output is correct |
11 |
Correct |
22 ms |
4440 KB |
Output is correct |
12 |
Correct |
24 ms |
4716 KB |
Output is correct |
13 |
Correct |
24 ms |
4712 KB |
Output is correct |
14 |
Correct |
22 ms |
3924 KB |
Output is correct |
15 |
Correct |
69 ms |
6344 KB |
Output is correct |
16 |
Correct |
63 ms |
6144 KB |
Output is correct |
17 |
Correct |
64 ms |
6368 KB |
Output is correct |
18 |
Correct |
68 ms |
6364 KB |
Output is correct |
19 |
Incorrect |
37 ms |
3928 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
1116 KB |
Output is correct |
2 |
Correct |
0 ms |
1116 KB |
Output is correct |
3 |
Incorrect |
63 ms |
6344 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
1116 KB |
Output is correct |
2 |
Correct |
0 ms |
1116 KB |
Output is correct |
3 |
Correct |
1 ms |
1116 KB |
Output is correct |
4 |
Correct |
1 ms |
1116 KB |
Output is correct |
5 |
Correct |
1 ms |
1112 KB |
Output is correct |
6 |
Correct |
1 ms |
1116 KB |
Output is correct |
7 |
Correct |
1 ms |
1116 KB |
Output is correct |
8 |
Correct |
1 ms |
1116 KB |
Output is correct |
9 |
Incorrect |
1 ms |
1116 KB |
Output isn't correct |
10 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
1116 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
1116 KB |
Output is correct |
2 |
Correct |
0 ms |
1116 KB |
Output is correct |
3 |
Correct |
1 ms |
1116 KB |
Output is correct |
4 |
Correct |
1 ms |
1116 KB |
Output is correct |
5 |
Correct |
1 ms |
1112 KB |
Output is correct |
6 |
Correct |
1 ms |
1116 KB |
Output is correct |
7 |
Correct |
1 ms |
1116 KB |
Output is correct |
8 |
Correct |
1 ms |
1116 KB |
Output is correct |
9 |
Correct |
19 ms |
3932 KB |
Output is correct |
10 |
Correct |
23 ms |
4584 KB |
Output is correct |
11 |
Correct |
22 ms |
4440 KB |
Output is correct |
12 |
Correct |
24 ms |
4716 KB |
Output is correct |
13 |
Correct |
24 ms |
4712 KB |
Output is correct |
14 |
Correct |
22 ms |
3924 KB |
Output is correct |
15 |
Correct |
69 ms |
6344 KB |
Output is correct |
16 |
Correct |
63 ms |
6144 KB |
Output is correct |
17 |
Correct |
64 ms |
6368 KB |
Output is correct |
18 |
Correct |
68 ms |
6364 KB |
Output is correct |
19 |
Incorrect |
63 ms |
6344 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
1116 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |