Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147268 赵奕杰 08比较三个数的大小 C++ Accepted 1 MS 268 KB 245 2026-02-03 17:21:10

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; bool a,b,c; int man,m,x; int main(){ cin>>man>>m>>x; a=man>m&&man>x; b=m>man&&m>x; c=x>man&&x>m; if(a==1)cout<<man; else{ if(b==1)cout<<m; else cout<<x; } return 0; }