← All problemsSign in

Happy Birthday!

Taking GPL on birthdays has been a tradition in KGP! After taking GPL of many people with various kinds of **chappals**(slippers), Shivansh formulated the following hypothesis : $``$**Hitness power** of a chappal is directly proportional to **width** of its sole and inversely proportional to its **length**. For the sake of simplicity, one can assume proportionality constant to 1. Moreover, Hitnes

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