#659. [Wf2014]Skiing

[Wf2014]Skiing

Samples

4 100 400
-100 100
50 200
-100 300
150 300
1 2 4