Tree Orientation (Easy Version)
2208D11800· expert3s1024 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
11410001111101000014111101110010011140011011100110001410000110001011114100001101010111151000001011001110001000001510000110001010110111000015100000110100100011101000141100010000110001411100100001001013100111101
Output
Yes2 32 43 1NoNoYes2 34 14 2NoNoYes2 13 13 54 3NoNoYes1 21 34 2Yes2 33 1
58%
2208D1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…