Lucian_Adrian

Untitled

Aug 11th, 2021
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int main()
  5. {
  6. long long int S,d, r, m;
  7. cin >> S >> d >> r >>m ;
  8. if (S >= d )
  9. cout << "drona";
  10. else if (S >= r )
  11. cout << "robot";
  12. else if (S >= m )
  13. cout << "masina";
  14. else
  15. cout << "nimic";
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment