Rosetta Problems

スパイ 2 (Spy 2)

https://atcoder.jp/contests/joi2021yo2/tasks/joi2021_yo2_e