Construct a tree
1098C2400· grandmaster1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3 5
Output
Yes1 1
Sample 2of 3
Input
4 42
Output
No
Sample 3of 3
Input
6 15
Output
Yes1 2 3 1 5
58%
1098C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…