Rosetta Problems

回転寿司

https://atcoder.jp/contests/joisc2016/tasks/joisc2016_h