mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-18 17:51:58 +00:00
4 lines
232 B
Python
4 lines
232 B
Python
|
a = input().split()
|
||
|
print('%.6lf' % (((int(a[2]) + int(a[1])) * int(a[0]) / (int(a[2]) + 3 * int(a[1]))) / int(a[2]) +
|
||
|
(int(a[0]) - ((int(a[2]) + int(a[1])) * int(a[0]) / (int(a[2]) + 3 * int(a[1])))) / int(a[1])))
|