1 条题解

  • 1
    @ 2023-6-17 14:37:42
    #include <bits/stdc++.h>
    using namespace std;
    double x,y,a,b;
    int main(){
    	cin>>x>>a>>y>>b;
    	double z=(y*b-x*a)/(b-a);
    	printf("%.2f",z);
    	return 0;
    } 
    
    • 1

    信息

    ID
    6
    时间
    1000ms
    内存
    128MiB
    难度
    4
    标签
    (无)
    递交数
    56
    已通过
    28
    上传者