Challenge for Ruby Basics
ab is considered powerful if (and only if) both of the following 2 conditions are met:
- ab >= 2 * b2
- ab >= (a*b)2
true if ab is powerful and
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.