刷题目录
#include <cstdio> int main() { int x,a,y,b; scanf("%d%d%d%d",&x,&a,&y,&b); printf("%.2f",(y*b-x*a)*1.0/(b-a)); return 0; }