| Problem | railway |
|---|---|
| User | ISAAC |
| Submission Time | 2026-09-26 15:27:02 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
railway.cpp: In function ‘void dfs(long long int, long long int)’:
railway.cpp:11:13: error: ‘idx’ was not declared in this scope
11 | i.first = idx;
| ^~~
railway.cpp:12:14: error: ‘val’ was not declared in this scope
12 | i.second = val;
| ^~~
railway.cpp:18:22: error: a function-definition is not allowed here before ‘{’ token
18 | int lca(int x, int y){
| ^
railway.cpp:33:11: error: a function-definition is not allowed here before ‘{’ token
33 | int main(){
| ^
railway.cpp:54:1: error: expected ‘}’ at end of input
54 | }
| ^
railway.cpp:7:25: note: to match this ‘{’
7 | void dfs(int x, int par){
| ^