fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int a;
  6. int b, c, max;
  7. cin >> a >> b >> c;
  8. max = a;
  9. if(max < b) { max = b; }
  10. if(max < c) { max=c; }
  11. cout << max;
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 5376KB
stdin
Standard input is empty
stdout
1382440048