Welcome   HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online
Home
FAQs
Problem Set
Practices
Online Contests
Major Exercises
OI Special
Judgement
Submit
Online Status
User Ranklist
Users
Register new
Login
Web Links
Hunan Normal University
College of Information Science and Engineering
二分法
Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KB
Total submit users: 38, Accepted users: 34
Problem 10833 : No special judgement
Problem description
  题目请下载(题目为word格式)

Input
  输入文件最多包含25组测试数据,每个数据占两行,第一行包含一个正整数T1<=T<=10),表示项目的期数。第二行包含T+1个整数:CF0, CF1, CF2, ..., CFT,其中CF0 < 0, 0 < CFi < 10000 (i=1,2,...,T)T=0表示输入结束,你的程序不应当处理这一行(保证有解)。



Output
  对于每组数据,输出仅一行,即项目的IRR,四舍五入保留小数点后两位。

Sample Input
1
-1 2
2
-8 6 9
0
Sample Output
1.00
0.50
Problem Source
  参考:HNCPC2010

Submit   Discuss   Judge Status  Problems  Ranklist 

HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online, Version 2010.5.5.final.
Web visits:7564 today,12996701 total, since 2010-05-07