cf/mirror

Construct a tree

CF
1098C2400· grandmaster1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3 5
Output
Yes
1 1
Sample 2of 3
Input
4 42
Output
No
Sample 3of 3
Input
6 15
Output
Yes
1 2 3 1 5
1098C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…