fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int h1, h2;
  6. cin >> h1 >> h2;
  7. cout << h1-h2 << endl;
  8.  
  9. // your code goes here
  10. return 0;
  11. }
Success #stdin #stdout 0s 15232KB
stdin
15
10
stdout
5