cf/mirror

Multihedgehog

CF
1067B1800· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
14 2
1 4
2 4
3 4
4 13
10 5
11 5
12 5
14 5
5 13
6 7
8 6
13 6
9 6
Output
Yes
Sample 2of 2
Input
3 1
1 3
2 3
Output
No
1067B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…