cf/mirror

Case of Fugitive

CF
555B2000· candidate master3s256 MB⌨ stdin/stdout

Examples

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