Rosetta Problems

アイスクリーム (Ice Cream)

https://atcoder.jp/contests/joi2022yo1c/tasks/joi2022_yo1c_b