Rosetta Problems

Special Cake for CODE FESTIVAL

https://atcoder.jp/contests/code-festival-2018-qualb/tasks/code_festival_2018_qualb_c