cf/mirror

Game With Array

CF
1355D1400· specialist1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
1 4
Output
YES
4
2
Sample 2of 3
Input
3 4
Output
NO
Sample 3of 3
Input
3 8
Output
YES
2 1 5
4
1355D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)