[关闭]
@inkysakura 2017-05-06T04:04:03.000000Z 字数 240 阅读 1143

lightoj1043

CODE


#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int ncase;
int main()
{
        int t;
        cin >> t;
        while(t--)
        {
                double a,b,c,d;
                cin >> a>> b >> c>>d;
                cout <<fixed<<setprecision(10)<<"Case "<<++ncase<<": "<< a*sqrt(d/(d+1))<<endl;
        }
        return 0;
}
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注