← All problemsSign in

Christmas Gifts

CodeChefRating 574Open on judge ↗

Chef is wrapping Christmas gifts for his friends. He has a rectangular sheet of wrapping paper with a total area of $1000$ square centimeters. Each identical gift is a rectangular box with dimensions: - Height $(H)$ centimeters - Length $(L)$ centimeters - Width $(W)$ centimeters To wrap a gift, Chef needs enough paper to cover all six faces of the box, with no overlapping or gaps. Calculate the

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