Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
46385 杨中琦 求三个数的最大数 C++ Accepted 100 0 MS 256 KB 237 2022-07-13 12:53:57

Tests(9/9):


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


Judgement Protocol: