//In the name of God
#include<bits/stdc++.h>
#include "stations.h"
using namespace std;
typedef int ll;
typedef pair<ll, ll> pll;
const ll maxn = 1100;
const ll mod = 1e9 + 7;
const ll inf = 1e9;
#define Mp make_pair
#define F first
#define S second
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define Sz(x) ll((x).size())
ll t, st[maxn], ft[maxn], h[maxn];
vector<ll> g[maxn];
void dfs(ll v, ll p){
st[v] = t++;
for(ll u : g[v]){
if(u != p){
h[u] = h[v] + 1;
dfs(u, v);
}
}
ft[v] = t++;
}
vector<int> label(int n, int k, vector<int> u, vector<int> v) {
vector<int> labels(n);
for (int i = 0; i < n; i++) {
labels[i] = i;
}
return labels;
}
int find_next_station(int s, int t, vector<int> c){
return c[0];
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
670 ms |
640 KB |
Wrong query response. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
600 ms |
528 KB |
Wrong query response. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
568 ms |
492 KB |
Wrong query response. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1091 ms |
400 KB |
Output is correct |
2 |
Incorrect |
880 ms |
508 KB |
Wrong query response. |
3 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
782 ms |
528 KB |
Wrong query response. |
2 |
Halted |
0 ms |
0 KB |
- |