| Problem | railway |
|---|---|
| User | dooweidde |
| Submission Time | 2025-12-17 15:04:46 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
railway.cpp:41:8: error: cannot declare ‘::main’ to be a global variable
41 | signed main{
| ^~~~
railway.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
railway.cpp:42:2: note: in expansion of macro ‘int’
42 | int n, q; cin >> n >> q;
| ^~~
railway.cpp:2:13: error: expected ‘}’ before ‘long’
2 | #define int long long
| ^~~~
railway.cpp:42:2: note: in expansion of macro ‘int’
42 | int n, q; cin >> n >> q;
| ^~~
railway.cpp:41:12: note: to match this ‘{’
41 | signed main{
| ^
railway.cpp:42:12: error: ‘cin’ does not name a type; did you mean ‘sin’?
42 | int n, q; cin >> n >> q;
| ^~~
| sin
railway.cpp:43:2: error: expected unqualified-id before ‘for’
43 | for (int i = 0; i < n-1;i++){
|