fork(1) download
  1. #include <iostream>
  2. #include <algorithm>
  3. using namespace std;
  4.  
  5. int main() {
  6. int a, b;
  7. cin >> a >> b;
  8. int c = min(max(a, b), 96);
  9. cout << c << endl;
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5288KB
stdin
10 20 
stdout
20