#include<iostream> #include<cstdio> using namespace std; int main() { int a, b, c; int m; scanf("%d %d %d", &a, &b, &c); m = a; if(b > m) m = b; if(c > m) m = c; printf("%d", m); return 0; }
Double click to view unformatted code.