#include <stdio.h> #include <string.h> #include <stdlib.h> #include <limits.h> #include <math.h> char a[105], b; int main() { int s, t, k; while (scanf("%d%d%d", &s, &t, &k) != EOF) { printf("%d\n", s > t? (s > k? s: k): (t > k? t: k)); } } |
Double click to view unformatted code.