#496. [2009国家集训队]大灾变

[2009国家集训队]大灾变

Background

Special for beginners, ^_^

Description

image

Format

Input

image

Output

image

Samples

3
2 0
1 10
3 10
1.00 10.00
2.00 0.00

Limitation

image