55
265
版主
#include <stdio.h> using namespace std; int main(){ float x,a,y,b,z; scanf("%f%f%f%f",&x,&a,&y,&b); z=(y*b-x*a)/(b-a); printf("%0.2f",z); return 0; }
使用道具 举报
|山东智趣岛论坛 ( 鲁ICP备2023024048号 )
GMT+8, 2025-3-1 13:35 , Processed in 0.161492 second(s), 35 queries .
Powered by Discuz! X3.3 Licensed
Copyright © 2001-2020, Tencent Cloud.