提交时间:2023-12-01 13:25:27
运行 ID: 113115
#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; }