Because Girls Love Gifts
CodeChefOpen on judge ↗
We all know that girls love gifts, right? Well, if you have been into programming, you must be knowing about Alice and Bob. Alice and Bob have been dating since a while and so it's very natural that they'll meet over a cup of coffee today, i.e. the Valentine's Day :D Bob is very confused as to what should he gift Alice today. He doesn't believe in giving expensive gifts (just like me :P), so he d
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