Tree Queries
1328E1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
10 61 21 31 42 52 63 77 87 99 104 3 8 9 103 2 4 63 2 1 53 4 8 22 6 103 5 4 7
Output
YESYESYESYESNONO
58%
1328E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…