Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82616 sh25_zhuhy 最大数max(x,y,z) C++ 编译错误 0 MS 0 KB 279 2026-01-16 16:04:08

Tests(0/0):


#include<iostream> using namespace std; int xmax(int a,int b,int c){ if(a>=b&&a>=c) return a; else return xmax(b,c,a); } int main(){ int a,b,c; cin>>a>>b>>c; cout<<fixed<<setprecision(3)<<1.0*xmax(a,b,c)/xmax(a+b,b,c)/xmax(a,b,b+c); return 0; }


测评信息: