← All problemsSign in

Namabala Wants A Cake

Namabala is a huge fan of cakes and he naturally wanted a cake for his birthday. Little did he know that all his friends had planned it much ahead and got a huge rectangle cake. Pug did not know that Nambala liked only round cakes which were bigger than his plate. Help Pug decide if a round cake is possible to cut from the existing rectangular cake. Ooh! And Happy belated birthday Nambala! :D In

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