2017-09-28 AtCoder ABC #024 C. 民族大移動 AtCoder 競技プログラミング 貪欲法 グラフかと思ったけど,図を書いてみると直線でいけるらしいとわかった. AtCoder ABC #024 C. 民族大移動