TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Please download the problemset(pdf) here.
Warn: 本題有 specialjudge

Input Format

Output Format

Sample Input 1

1
7 2
2 0
0 4
4 4
4 2
8 2
11 3
14 2

Sample Output 1

3.00000000
2
2.00000000 1.76393202
11.00000000 1.99998199

Hints

Problem Source

Migrated from old NTUJ.

POI 18th

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 10000 65536 200