Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
52207 zhangsicun 角谷猜想 C++ 解答错误 0 MS 240 KB 415 2024-09-28 16:30:05

Tests(0/1):


//#inlude<bits/stdc++.h> //usig namespace std; //it mai() //{ //flat a,b,x,y; //cin >> x >> a >> y >> b //float z=(b*ya*x)/(b-a); //cout<<fixed << setprecision(2) <<; //retrn 0; //} #include<bits/stdc++.h> using namespace std; int main() { float a,b,x,y; cin >> x >> a >> y >> b ; float z=(b*y-a*x)/(b-a); cout<<fixed << setprecision(2) <<z; return 0; }


测评信息: