Rosetta Problems
← atcoder に戻る
塗り箸 (Chopsticks)
https://atcoder.jp/contests/joisc2009/tasks/joisc2009_chopsticks