Gajjo and his Best Pair
CodeChefOpen on judge ↗
Gajjo is organizing an event in his school Parbatta Vikas Sansthan (PVS). Gajjo will select any two people from the event at any moment and declare them as "Best Jodi". The "Best Jodi" is going to get a lot of rewards. In order to choose the "Best Jodi". Gajjo has put a condition on it. He will select three integers $L$,$R$ and $T$ randomly.A pair of person $(X, Y)$ will be eligible to become a "
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