fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int A, B, C;
  6. cin >> A >> B >>C;
  7. if(A > B and A > C){
  8. cout << A;
  9. }else if(B > A and B > C){
  10. cout << B;
  11.  
  12. if(C > A and C > B){
  13. cout << C;
  14. }else if (A>= 727 or B >= 727 or C>=727){
  15. cout << "Error";
  16. }else{
  17. }
  18. }
  19. return 0;
  20. }
Success #stdin #stdout 0.01s 5276KB
stdin
600 747 100
stdout
747Error