提交时间:2023-11-08 13:48:33
运行 ID: 109396
#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; }