408197: GYM103049 G Great Expectations
Memory Limit:1024 MB
Time Limit:4 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
G. Great Expectationstime limit per test4 secondsmemory limit per test1024 megabytesinputstandard inputoutputstandard outputExamplesInput
100 111 5 20 0.5 10 80 0.5 2 85 0.5 2 90 0.5 2 95 0.5 2Output
124.00000000Input
2 4 1 1 0.5 5Output
3.00000002Input
10 20 3 5 0.3 8 6 0.8 3 8 0.9 3Output
18.90298507Input
10 50 1 5 0.5 30Output
15.00000000