[UVA][線段交] 10902 - Pick-up Sticks
Problem C: Pick-up sticks
Stan has n sticks of various length. He throws them one at a
time on the floor in a random way. After finishing throwing, Stan
tries to find the top sticks, that is these sticks such that
there is no stick on top of them. Stan has noticed ...