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
解方程2017
Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KB
Total submit users: 7, Accepted users: 7
Problem 11783 : No special judgement
Problem description
  给定一个4次方程,再给定一个定义域,就在该定义域上方程的解。保证定义域内有唯一解且对应的4次函数单调。方程形式为:a0+a1x+a2x^2+a3x^3+a4x^4 = 0。

Input
  输入只有一行,一共7个绝对值不超过10的整数。前五个数分别是a0, a1, a2, a3, a4,表示相应项的系数,后两个数是x1, x2,表示定义域[x1, x2]。

Output
  输出一行为结果。保留3位小数。

Sample Input
0 0 0 0 1 0 1
Sample Output
0.000
Problem Source
  HUNNU Contest 

Submit   Discuss   Judge Status  Problems  Ranklist 

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