求助
查看原帖
求助
1085528
Dhx2005楼主2023/10/7 09:01
#include <stdio.h>
#include <math.h>
int main(){
    int x,a,y,b;
    scanf("%d %d %d %d",&x,&a,&y,&b);
    double z=(b*y-a*x)/(y-x);
    printf("%.2f",z);
    return 0;
}

只有20分,多谢解答

2023/10/7 09:01
加载中...