fork download
  1. #include <iostream>
  2. using namespace std;
  3. long f91(long n) {
  4. if(n <= 100){
  5. return 91;
  6. }
  7. else {
  8. return n - 10;
  9. }
  10. }
  11. int main() {
  12. long n;
  13. cin >> n;
  14. cout << f91(n);
  15. return 0;
  16. }
Success #stdin #stdout 0s 4552KB
stdin
101
stdout
91