ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1503. Polynomial

some hard test cases
Posted by LeTim 29 Jul 2024 17:40
hope they help someone

test 1
5
1
0
0
0
0
0

answer 1
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000

test 2
5
1
-11
47
-97
96
-36

answer 2
1.0000000000
2.0000000000
2.0000000000
3.0000000000
3.0000000000

test 3
5
1
-5
10
-10
5
-1

answer 3
1.0000000000
1.0000000000
1.0000000000
1.0000000000
1.0000000000

test 4
5
1
-19
66
-94
61
-15

answer 4
1.0000000000
1.0000000000
1.0000000000
1.0000000000
15.0000000000

test 5
5
1
-2
-3
4
-1
0

answer 5
-1.6180339887
0.0000000000
0.3819660113
0.6180339887
2.6180339887

test 6
5
1
47
47
-35
23
48

answer 6
-45.9605895781
-1.4565711031
-0.8277595971

test 7
5
1
-14
37
18
-42
-16

answer 7
-0.8937080620
-0.3737580555
1.2403250836
3.7621983673
10.2649426666

test 8
5
-37
41
34
-38
47
42

answer 8
-0.9916715391
-0.6140289854
1.6927104673