Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
765 | 梅煦洋 | 求三个数的最大数 | C++ | Accepted | 100 | 0 MS | 252 KB | 152 | 2019-09-21 21:23:55 |
#include<iostream> int main(){ int a,s,d,max; scanf("%d %d %d",&a,&s,&d); max=(a>s)?a:s; max=(max>d)?max:d; printf("%d",max); return 0; }