| Problem | railway |
|---|---|
| User | dooweidde |
| Submission Time | 2025-12-17 14:57:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
railway.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
railway.cpp: In function ‘void dfs(long long int, long long int, long long int)’:
railway.cpp:7:2: error: ‘par’ was not declared in this scope
7 | par[n][0]=p;
| ^~~
railway.cpp:8:2: error: ‘dist’ was not declared in this scope
8 | dist[n]=d;
| ^~~~
railway.cpp:9:7: error: ‘pair’ was not declared in this scope
9 | for (pair<int,int>i:adj[n] if (i.first != p)){
| ^~~~
railway.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
railway.cpp:9:12: note: in expansion of macro ‘int’
9 | for (pair<int,int>i:adj[n] if (i.first != p)){
| ^~~
railway.cpp:13:1: error: expected primary-expression before ‘}’ token
13 | }
| ^
railway.cpp:12:3: error: expected ‘;’ before ‘}’ token