#include <bits/stdc++.h>
using namespace std;
map<int,set<int>> adj;
map<pair<int,int>,int> edwt;
void init(int N, int M,std::vector<int> U, std::vector<int> V, std::vector<int> W) {
for(int i=0;i<M;i++){
int x=U[i];
int y=V[i];
int z=W[i];
adj[x].insert(y);
adj[y].insert(x);
edwt[{x,y}]=z;
edwt[{y,x}]=z;
}
}
int getMinimumFuelCapacity(int X, int Y) {
return -1;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
364 KB |
Output is correct |
2 |
Correct |
1 ms |
492 KB |
Output is correct |
3 |
Correct |
1 ms |
364 KB |
Output is correct |
4 |
Correct |
1 ms |
492 KB |
Output is correct |
5 |
Correct |
2 ms |
620 KB |
Output is correct |
6 |
Correct |
2 ms |
620 KB |
Output is correct |
7 |
Correct |
2 ms |
620 KB |
Output is correct |
8 |
Correct |
2 ms |
652 KB |
Output is correct |
9 |
Correct |
294 ms |
28492 KB |
Output is correct |
10 |
Correct |
370 ms |
34796 KB |
Output is correct |
11 |
Correct |
381 ms |
34156 KB |
Output is correct |
12 |
Correct |
406 ms |
36204 KB |
Output is correct |
13 |
Correct |
403 ms |
36204 KB |
Output is correct |
14 |
Correct |
332 ms |
28652 KB |
Output is correct |
15 |
Correct |
442 ms |
39160 KB |
Output is correct |
16 |
Correct |
428 ms |
38172 KB |
Output is correct |
17 |
Correct |
460 ms |
40220 KB |
Output is correct |
18 |
Correct |
469 ms |
40272 KB |
Output is correct |
19 |
Incorrect |
83 ms |
9964 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
364 KB |
Output is correct |
2 |
Correct |
1 ms |
492 KB |
Output is correct |
3 |
Incorrect |
341 ms |
37776 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
364 KB |
Output is correct |
2 |
Correct |
1 ms |
492 KB |
Output is correct |
3 |
Correct |
1 ms |
364 KB |
Output is correct |
4 |
Correct |
1 ms |
492 KB |
Output is correct |
5 |
Correct |
2 ms |
620 KB |
Output is correct |
6 |
Correct |
2 ms |
620 KB |
Output is correct |
7 |
Correct |
2 ms |
620 KB |
Output is correct |
8 |
Correct |
2 ms |
652 KB |
Output is correct |
9 |
Correct |
294 ms |
28492 KB |
Output is correct |
10 |
Correct |
370 ms |
34796 KB |
Output is correct |
11 |
Correct |
381 ms |
34156 KB |
Output is correct |
12 |
Correct |
406 ms |
36204 KB |
Output is correct |
13 |
Correct |
403 ms |
36204 KB |
Output is correct |
14 |
Correct |
332 ms |
28652 KB |
Output is correct |
15 |
Correct |
442 ms |
39160 KB |
Output is correct |
16 |
Correct |
428 ms |
38172 KB |
Output is correct |
17 |
Correct |
460 ms |
40220 KB |
Output is correct |
18 |
Correct |
469 ms |
40272 KB |
Output is correct |
19 |
Incorrect |
341 ms |
37776 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
364 KB |
Output isn't correct |