TopCoder

User's AC Ratio

NaN% (0/0)

Submission's AC Ratio

NaN% (0/0)

Tags

Description

Input Format

Output Format

Sample Input 1

5 2 
464.9900 243.2652 
463.9409 772.4632 
201.9822 561.6255 
695.8948 933.4567 
226.0628 93.1435 
3 2 
4 3 
4 2 
27.1679 304.2512 
27.7639 16.2479 
921.9150 863.0064 
167.6203 929.5471 
2 2 
2 3 
0 0 

Sample Output 1

Case 1:
16172.49971
1: 14289.23473
2: 11558.37654
Case 2:
53198.72595
1: 47995.33546
2: 41543.27604

Hints

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

Problem Source

Migrated from old NTUJ.

Asia Regional Hatyai 2012

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 5000 65536 20000