Rosetta Problems

ピラミッド - 誕生日編

https://atcoder.jp/contests/gwcontest2015/tasks/gw2015_f