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
1 5000
0 0
2
0
1
2 1000
0 500
0 -500
3
0
1
2

Sample Output 1

0.803650459
0.196349541
0.987362961
0.009566115
0.003070924

Hints

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

Problem Source

Migrated from old NTUJ.

eddy

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 262144 131072