라떼군 이야기
UVa 299 - Train Swapping
Problem
- UVa 299 - Train Swapping
- https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=235
Solution
{% gist d4ad53af3dde2ebf604e4380aabf7a24 %}
{% gist d4ad53af3dde2ebf604e4380aabf7a24 %}