Rosetta Problems

Storing the Rope

https://atcoder.jp/contests/awc0163/tasks/awc0163_b