X(or)-mas Tree
1615D2200· master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
46 51 2 -11 3 14 2 76 3 02 5 -12 3 12 5 05 6 16 1 14 5 15 31 2 -11 3 -11 4 14 5 -12 4 03 4 12 3 13 31 2 -11 3 -11 2 01 3 12 3 02 11 2 11 2 0
Output
YES1 2 01 3 12 4 73 6 02 5 0YES1 2 11 3 01 4 14 5 1NONO
58%
1615D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…