Problem railway
User goose
Submission Time 2026-09-26 15:30:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

railway.cpp: In function ‘int main()’:
railway.cpp:51:27: error: ‘i’ was not declared in this scope
51 | for (int k = 1; k <= 19; i++) {
| ^
railway.cpp:52:17: error: expected ‘;’ before ‘i’
52 | for (int i = 1 i < n+1; i++) {
| ^~
| ;