fork download
  1. #include <bits/stdc++.h>
  2. #define ull unsigned long long
  3. #define ll long long
  4. #define el endl
  5. #define nl '\n'
  6. using namespace std;
  7.  
  8. void input()
  9. {
  10. if (fopen("in.txt", "r"))
  11. {
  12. freopen("in.txt", "r", stdin);
  13. freopen("out.txt", "w", stdout);
  14. }
  15. }
  16.  
  17. int Maxz(int c, int d)
  18. {
  19. int MX;
  20. if (c > d)
  21. MX = c;
  22. else
  23. MX = d;
  24.  
  25. return MX;
  26. }
  27.  
  28. int main()
  29. {
  30. input();
  31. int a, b;
  32. cin >> a >> b;
  33.  
  34. cout << "the larger : " << Maxz(a, b) << nl;
  35. return 0;
  36. }
  37. // 1
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
the larger : 32766