Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
905 龚施宇 求三个数的最大数 C++ Accepted 100 0 MS 260 KB 181 2019-09-22 20:33:04

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; if(b>a&&b>c) max=b; if(c>b&&c>a) max=c; printf("%d\n",max); return 0; }


Judgement Protocol: