Computes the shortest subway transfer plan between two stations, using BFS over the line data in doc/线路.csv. See doc/地铁换乘.pdf for the assignment spec.
uv sync
uv run subway "18号线,复旦大学-10号线,交通大学"uv run pytest| Name | Name | Last commit date | ||
|---|---|---|---|---|
Computes the shortest subway transfer plan between two stations, using BFS over the line data in doc/线路.csv. See doc/地铁换乘.pdf for the assignment spec.
uv sync
uv run subway "18号线,复旦大学-10号线,交通大学"uv run pytest