山东智趣岛论坛

标题: 1005 [打印本页]

作者: liuzixuan    时间: 2023-12-9 15:11
标题: 1005
#include<iostream>
#include<stdio.h>
using namespace std;
int main(){
        int a,x,b,y;
        cin>>x>>a>>y>>b;
        float z=(b*y-a*x)/(b-a);
    printf("%0.2f",z);
}





欢迎光临 山东智趣岛论坛 (https://abc.sdzqd.com/) Powered by Discuz! X3.3