Rosetta Problems

ヒバラ海に沈む遺跡

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/507