← All problemsSign in

Mr IYER and his Birthday

Today is the Birthday of the great Mr IYER and he is going to celeberate his birthday with his friends. For his birthday party, he has ordered a rectangular cake. As many of his friends are coming to party, to distribute the cake among them, he is going to cut the cake in an unique way. He has selected some points(i.e, integeral coordinates) on the cake and will make a complete horizontal and ver

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