fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int k;
  6. cin>>k;
  7. if(k<4){
  8. cout<<0;
  9. }else{
  10. k=k-3;
  11. cout<<k;
  12. }
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 4564KB
stdin
3
stdout
Standard output is empty