3 条题解

  • 2
    @ 2022-12-27 9:49:18
    #include<bits/stdc++.h>
    using namespace std;
    double x,a,y,b;
    int main(){
    	cin>>x>>a>>y>>b;
        cout<<fixed<<setprecision(2)<<(x*a-y*b)/(a-b)<<endl;
    	return 0;
    }
    
    • 1
      @ 2023-8-12 14:49:22
      #include<bits/stdc++.h>
      using namespace std;
      double x,a,y,b;
      int main(){
      	cin>>x>>a>>y>>b;
          cout<<fixed<<setprecision(2)<<(x*a-y*b)/(a-b)<<endl;
      	return 0;
      }
      
      • 1
        @ 2023-2-13 20:14:27
        # include<bits/stdc++.h>
        using namespace std;
        int main(){
            double x, a, y, b;
        	cin >> x >> a >> y >> b;
            cout << fixed << setprecision(2) << (x * a - y * b) / (a - b) << endl;
        	return 0;
        }
        

        eee......

        • 1

        信息

        ID
        6805
        时间
        1000ms
        内存
        128MiB
        难度
        1
        标签
        (无)
        递交数
        140
        已通过
        83
        上传者