~/algor $ cat contests/round-7/AS
AS. Linear equation
Problem AS
ICPC rules
1000 ms
64 MB
Integers and are given, . Find the root of the equation:
Input
One line with two integers: and .
Output
One number — , with exactly 2 digits after the decimal point (for example, 3.00). If the rounded result is zero (for example, ), print 0.00 (not -0.00).
Note
Examples
Input #1
2 -6
Output #1
3.00
Input #2
3 1
Output #2
-0.33