Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
9642 Songgr 最大数输出 C++ Accepted 0 MS 252 KB 268 2023-02-15 20:20:14

Tests(1/1):


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


Judgement Protocol: