Trokva

აკვარიუმი

Dec 14th, 2019
83
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. main(){
  5. int lit,fish;
  6. cin>>lit>>fish;
  7.  
  8. if(lit/fish >= 3) cout<<"NO";
  9. if(lit/fish < 3) cout<<"YES"<<" "<<fish-lit/3 ;
  10. }
RAW Paste Data