1 条题解

  • 1
    @ 2026-7-10 9:28:57
    using namespace std;
    int main() {
    	int x,a,y,b;
    	cin >>x>>a>>y>>b;
    	cout<<fixed<<setprecision(2)<<(double)(x*a-y*b)/(a-b)<<endl;
    	return 0;
    }
    \
     
    
    • 1

    信息

    ID
    11913
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    递交数
    54
    已通过
    35
    上传者