CRAZY VALENTINE
CodeChefOpen on judge ↗
Since Valentine’s day is approaching, couples in Burla are visiting Zero Point to celebrate their love. One fine day, a single guy named Aitik went there to try something. Now, Aitik has a lot of money, loves division, and wants to impress girls. He decided to give away money to couples following a certain rule. There are **T** couples at Zero Point. The girl corresponding to **i-th** couple has *
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