| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 82560 | sh25_wuyy | 最大数max(x,y,z) | C++ | 通过 | 0 MS | 252 KB | 261 | 2026-01-15 18:48:13 |
#include<bits/stdc++.h> using namespace std; double max(double x,double y,double z){ if(x<y) x=y; if(x<z) x=z; return x; }int main(){ double a,b,c; cin>>a>>b>>c; double m=max(a,b,c)/(max(a+b,b,c)*max(a,b,b+c)); printf("%.3lf",m); return 0; }