#include <stdio.h> int main(void) { int a, b, c; scanf("%d%d%d", &a, &b, &c); printf("%d\n", a > b ? a > c ? a : c : b > c ? b : c); return 0; }
#include<stdio.h> int main() { int a,b,c; scanf("%d,%d,%d",&a,&b,&c); printf("最大值为%d\n",b>c?a>b?a:b:a>c?a:c); return 0; }