Trees and XOR Queries Again
1902F2400· grandmaster6.5s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
40 1 2 102 13 24 283 3 03 4 13 4 71 3 11 3 21 3 101 4 101 4 11
Output
YESYESNOYESYESNOYESYES
58%
1902F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…