3 条题解

  • 0
    @ 2025-1-1 15:39:48
    #include<bits/stdc++.h>
    using namespace std;
    
    int main()
    {
    	int n;
    	cin>>n;
    	int m,x,y,z;
    	double t,s;
    	while(n--)
    	{
    		cin>>m>>x>>y>>z;
    		t = x*m*1.00/(y-x);
    		s = t*z;
    		cout<<fixed<<setprecision(2)<<s<<endl;
    	}
    }
    

    信息

    ID
    160
    时间
    3000ms
    内存
    128MiB
    难度
    6
    标签
    (无)
    递交数
    824
    已通过
    228
    上传者