#include<iostream> #include<cstring> #include<string> #include<algorithm> #include<vector> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (a > b&&a > c) { cout << a; } else if (b > a&&b > c) { cout << b; } else { cout << c; } return 0; } |
Double click to view unformatted code.