Rosetta Problems

章鱼图的判断

https://www.acwing.com/problem/content/5839