TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

3
3 1 10.0 0.9 1.1
1 2 3
3 2 10.0 0.9 1.1
1 1 1
3 3 10.0 0.9 1.1
1 1 100.0

Sample Output 1

20.666667
10.000000
1000.000000

Hints

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

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 3000 65536 20000