fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int H,B;
  7.  
  8. cin >> H >> B;
  9. if(H<=B){
  10. cout << 0;
  11. }else{
  12. cout << H - B;
  13. }
  14. // your code goes here
  15. return 0;
  16. }
Success #stdin #stdout 0s 5320KB
stdin
43 1
stdout
42