algorithm

더블릿|dovelet - 여왕 벌/bumblebee

블루건 2016. 7. 19. 16:14

문제


1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
 
using namespace std;
 
int main()
{
    double a, b, x, l;
    cin >> a >> b >> x >> l;
    cout.precision(6);
    cout << fixed << l / (a + b) * x;
 
    return 0;
}
cs