Rosetta Problems

珍しい都市 (Unique Cities)

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