Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
3931 吴承熹 08比较三个数的大小 C++ Accepted 0 MS 252 KB 367 2024-07-19 15:05:07

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b){ if(a>c){ cout<<a<<endl; } else{ cout<<c<<endl; } } else{ if(b>c){ cout<<b<<endl; } else{ cout<<c<<endl; } } return 0; }