Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
83745 sh25_huangse 求三位数各数位中最大值 C++ 通过 0 MS 256 KB 221 2026-02-01 20:22:06

Tests(1/1):


#include <iostream> using namespace std; int main(){ int a,b,c,x; cin>>x; a=x%10; b=x/10%10; c=x/100; cout<<c<<" "<<b<<" "<<a; cout<<endl; cout<<max(a,max(b,c)); return 0; }


测评信息: