| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75633 | sh25_zhuwy | 最大数max(x,y,z) | C++ | Accepted | 1 MS | 240 KB | 479 | 2025-12-08 19:19:02 |
#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; }