#include<bits/stdc++.h>
using namespace std;
//#define int long long
#define ld long double
#define pii pair<int,int>
#define pdd pair<ld,ld>
#define ff first
#define ss second
#define pb push_back
#define eb emplace_back
#define sz(x) ((int)x.size())
#define all(x) x.begin(),x.end()
#define fastio ios::sync_with_stdio(0),cin.tie(0);
#define nl '\n'
#define mN 200010
int n,m;
vector<pii>g[mN];
void init(int N,int M,vector<int>u,vector<int>v,vector<int>w){
n=N,m=M;
for(int i=0;i<m;i++){
g[u[i]].pb({v[i],w[i]});
g[v[i]].pb({u[i],w[i]});
}
}
int getMinimumFuelCapacity(int x,int y){
return -1;
}
/*
signed main(){
fastio;
}
*/
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
4948 KB |
Output is correct |
2 |
Correct |
3 ms |
5000 KB |
Output is correct |
3 |
Correct |
3 ms |
4996 KB |
Output is correct |
4 |
Correct |
3 ms |
5076 KB |
Output is correct |
5 |
Correct |
3 ms |
5012 KB |
Output is correct |
6 |
Correct |
3 ms |
4948 KB |
Output is correct |
7 |
Correct |
3 ms |
4948 KB |
Output is correct |
8 |
Correct |
3 ms |
4948 KB |
Output is correct |
9 |
Correct |
40 ms |
10900 KB |
Output is correct |
10 |
Correct |
47 ms |
12168 KB |
Output is correct |
11 |
Correct |
47 ms |
12132 KB |
Output is correct |
12 |
Correct |
54 ms |
12552 KB |
Output is correct |
13 |
Correct |
50 ms |
12552 KB |
Output is correct |
14 |
Correct |
45 ms |
11212 KB |
Output is correct |
15 |
Correct |
94 ms |
16360 KB |
Output is correct |
16 |
Correct |
93 ms |
16236 KB |
Output is correct |
17 |
Correct |
102 ms |
16636 KB |
Output is correct |
18 |
Correct |
103 ms |
16660 KB |
Output is correct |
19 |
Incorrect |
52 ms |
10188 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
4948 KB |
Output is correct |
2 |
Correct |
3 ms |
5000 KB |
Output is correct |
3 |
Incorrect |
86 ms |
16436 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
4948 KB |
Output is correct |
2 |
Correct |
3 ms |
5000 KB |
Output is correct |
3 |
Correct |
3 ms |
4996 KB |
Output is correct |
4 |
Correct |
3 ms |
5076 KB |
Output is correct |
5 |
Correct |
3 ms |
5012 KB |
Output is correct |
6 |
Correct |
3 ms |
4948 KB |
Output is correct |
7 |
Correct |
3 ms |
4948 KB |
Output is correct |
8 |
Correct |
3 ms |
4948 KB |
Output is correct |
9 |
Incorrect |
3 ms |
4948 KB |
Output isn't correct |
10 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
3 ms |
4948 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
3 ms |
4948 KB |
Output is correct |
2 |
Correct |
3 ms |
5000 KB |
Output is correct |
3 |
Correct |
3 ms |
4996 KB |
Output is correct |
4 |
Correct |
3 ms |
5076 KB |
Output is correct |
5 |
Correct |
3 ms |
5012 KB |
Output is correct |
6 |
Correct |
3 ms |
4948 KB |
Output is correct |
7 |
Correct |
3 ms |
4948 KB |
Output is correct |
8 |
Correct |
3 ms |
4948 KB |
Output is correct |
9 |
Correct |
40 ms |
10900 KB |
Output is correct |
10 |
Correct |
47 ms |
12168 KB |
Output is correct |
11 |
Correct |
47 ms |
12132 KB |
Output is correct |
12 |
Correct |
54 ms |
12552 KB |
Output is correct |
13 |
Correct |
50 ms |
12552 KB |
Output is correct |
14 |
Correct |
45 ms |
11212 KB |
Output is correct |
15 |
Correct |
94 ms |
16360 KB |
Output is correct |
16 |
Correct |
93 ms |
16236 KB |
Output is correct |
17 |
Correct |
102 ms |
16636 KB |
Output is correct |
18 |
Correct |
103 ms |
16660 KB |
Output is correct |
19 |
Incorrect |
86 ms |
16436 KB |
Output isn't correct |
20 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
3 ms |
4948 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |