Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
46012 | zhangyanshuo | 最大数输出 | C++ | Accepted | 1 MS | 244 KB | 239 | 2024-04-22 09:38:11 |
#include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a>b>c) { cout<<a; return 0; } else if(b>a>c) { cout<<b; return 0; } else { cout<<c; return 0; } return 0; }