fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. #define int long long
  4. #define endl '\n'
  5. #define vi vector<int>
  6. #define fi first
  7. #define se second
  8. #define pb push_back
  9. #define FOR(a) for(auto &x : a)
  10. #define all(a) a.begin(), a.end()
  11. #define pii pair<int, int>
  12. #define rep(i, l, r) for(int i = l; i <= r; i++)
  13.  
  14. // author: ngotranthethinh
  15.  
  16. int32_t main() {
  17. ios::sync_with_stdio(false);
  18. cin.tie(0); cout.tie(0);
  19.  
  20. //freopen("thethinh.INP", "r", stdin); freopen("thethinh.OUT", "w", stdout);
  21. //freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout);
  22.  
  23. int n; cin >> n;
  24. int x, y; cin >> x >> y;
  25.  
  26. if (y <= x) cout << x << endl;
  27. else cout << y << endl;
  28.  
  29.  
  30. return 0;
  31. }
  32.  
Success #stdin #stdout 0s 5328KB
stdin
Standard input is empty
stdout
140721405123248