Flower-like Pseudotree
1868D3000· legendary gm3s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
632 2 241 2 3 474 3 3 1 1 1 161 1 2 2 3 3101 1 5 2 1 1 1 1 1 691 1 3 1 1 4 1 1 5
Output
Yes1 22 33 1NoYes1 22 33 11 41 52 63 7Yes5 66 51 32 43 54 6NoYes3 66 99 31 32 64 65 97 98 9
58%
1868D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…