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