← All problemsSign in

ANKIT MEDLEY

Ankit's friend Shayan and Gagan has been demanding for party for a long time but Ankit is broke (as you have already seen in `HIDE_N_SEEK`). To evade the situation Ankit came up with a game. If he loses then he will give party to his two friends otherwise he can get away without giving party. The Game goes as follows: Given four integers $a_1, a_2, d_1, d_2.$ Shayan speaks number that $\in$ $S_

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start