Math Problems
CodeChefOpen on judge ↗
S's Teacher likes to creates inequalities for her students to solve. She picks her least favourite student Bob to solve it She picks four of her favourite students Ashley, Benjamin, Callie, Derek. She further tells bob to pick a 2 chits from the box of numbers x and y where x is less than y. x lies between Ashley's and Benjamin's height (both included) and y between Callies's and Derek's height.
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start