Advertisement
Trokva

აკვარიუმი

Dec 14th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement