TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

To be considered correct, this number must be within a relative error of 1e-9 of the judges' answer.

Sample Input 1

2
3
1 2
3 5
8 13
3
1 3
2 4
3 5

Sample Output 1

60.0625
9

Hints

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

Problem Source

Migrated from old NTUJ.

Shik & HH

Subtasks

No. Testdata Range Score

Testdata and Limits

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