提交时间:2024-04-10 13:50:04
运行 ID: 142870
#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; }