TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

2
0.50 0.40
2
0.70 0.60
4
0.99 1.00 1.00 0.01
0

Sample Output 1

5.5000000000
4.0476190476
104.0101010101

Hints

Info: 本題輸出為浮點數,絕對或相對誤差 1e-8 以下視為正確

Problem Source

Migrated from old NTUJ.

Subtasks

No. Testdata Range Score

Testdata and Limits

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