Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
1153 张弛 求三个数的最大数 C++ Accepted 100 0 MS 260 KB 394 2019-10-04 10:21:12

Tests(9/9):


#include<iostream> int main(){ int a,b,c,max; scanf("%d %d %d",&a,&b,&c); if(a<b||a==b){ max=b; if(max<c||max==c){ max=c; }else{ max=max; } }else{ max=a; if(max<c||max==c){ max=c; }else{ max=max; } } printf("%d",max); return 0; }


Judgement Protocol: