[UVA][并查集] 1160 - X-Plosives
X-Plosives
A secret service developed a new kind of
explosive that attain its volatile property only when a specific association of
products occurs. Each product is a mix of two different simple compounds, to
which we call a binding pair. If N>2, then
...