@inkysakura
2017-05-06T12:04:03.000000Z
字数 240
阅读 1289
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;
}