cf/mirror

Chladni Figure

CF
1147B1900· candidate master3s256 MB⌨ stdin/stdout

Examples

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