← All problemsSign in

Maharshi Effect

Mr.Rishi is a famous businessman in his area.On watching the movie maharshi,he wants to buy land to grow crops in the field.He now wants to buy a square plot but the area where he wants is full of uneven ground.But their friends insisted to buy land at some other place so that land is fertile and good enough to grow crops.Rishi being so stubborn wants to buy land in his native place.He seeks help

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