Problem3407--【Div2】图论练习 - abc404c-Cycle Graph?

3407: 【Div2】图论练习 - abc404c-Cycle Graph?

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description




Sample Input Copy

4 4
2 4
3 1
4 1
2 3

Sample Output Copy

Yes

HINT

Source/Category