| Problem | railway |
|---|---|
| User | weccs |
| Submission Time | 2026-09-26 15:26:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
railway.cpp:7:1: error: ‘vii’ does not name a type; did you mean ‘vi’?
7 | vii adj[100005];
| ^~~
| vi
railway.cpp: In function ‘void dfs(long long int, long long int)’:
railway.cpp:13:5: error: invalid types ‘long long int[long long int]’ for array subscript
13 | p[x][0] = p;
| ^
railway.cpp:14:7: error: ‘ii’ was not declared in this scope; did you mean ‘vi’?
14 | for (ii i: adj[x]) {
| ^~
| vi
railway.cpp:20:1: error: expected primary-expression before ‘}’ token
20 | }
| ^
railway.cpp:19:3: error: expected ‘;’ before ‘}’ token
19 | }
| ^
| ;
20 | }
| ~
railway.cpp:20:1: error: expected primary-expression before ‘}’ token
20 | }
| ^
railway.cpp:19:3: error: expected ‘)’ before ‘}’ token
19 | }
| ^
| )
20 | }
| ~
railway.cpp:14:6: note: to match this ‘(’
1