The 67th Tree Problem
2218F1500· specialist4s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
71 12 10 33 40 21 04 7
Output
YES1 2NOYES1 21 3YES1 22 33 44 55 66 7NONOYES1 22 33 44 54 112 66 77 82 99 10
58%
2218F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…