#BZOJ2350. [Baltic2011]Tree Mirroring

[Baltic2011]Tree Mirroring

题目描述

输入格式

输出格式

7 7
1 2
2 3
3 4
4 5
5 6
6 7
7 1
NO

f提示

Source