提交时间:2025-12-08 19:19:02
运行 ID: 75633
#include<bits/stdc++.h> using namespace std; int main() { double a,b,c,max,max1,max2; cin>>a>>b>>c; double d=a+b,e=b+c; if(a<b) { max=b; } else { max=a; } if(max<c) { max=c; } if(d<b) { max1=b; } else { max1=d; } if(max1<c) { max1=c; } if(a<b) { max2=b; } else { max2=a; } if(max2<e) { max2=e; } double k=max/(max1*max2); cout<<fixed<<setprecision(3)<<k; return 0; }