1 | #include <iomanip> |
2 | #include <iostream> |
3 | using namespace std; |
4 | |
5 | int main() { |
6 | cout<<setprecision(4)<<fixed; |
7 | float l; |
8 | cin>>l; |
9 | int HarrySpeed,noOneSpeed; |
10 | cin>>HarrySpeed>>noOneSpeed; |
11 | int newSpeed=(HarrySpeed+noOneSpeed); |
12 | float time=l/newSpeed; |
13 | cout<<time*HarrySpeed; |
14 | } |