SHARE
TWEET

აკვარიუმი

Trokva Dec 14th, 2019 (edited) 73 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top