Rosetta Problems

フルコンボ

https://atcoder.jp/contests/past17-open/tasks/past17_b