Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
113115 陈家宝 逃亡 C++ 通过 100 0 MS 240 KB 160 2023-12-01 13:25:27

Tests(5/5):


#include<bits/stdc++.h> using namespace std; double s,a,b,x; int main() { cin>>s>>a>>b; x=2*a*s/(3*a+b); printf("%.2lf\n",x/a+(s-x)/b); return 0; }


测评信息: