Fill the Void
CodeChefOpen on judge ↗
Given a hollow cuboid with following positive integral dimensions $L_h$,$B_h$,$H_h$ and a positive integer $K$. You need to fill it with solid cuboid such that each solid cuboid satisfy following conditions - $L_s$ == $B_s$ (length and breadth of solid cuboid) - Let $L_s$ == $B_s$ == $A$ then $1 \leq A \leq min(L_h, B_h)$ - $1 \leq H_s \leq K$ (height of solid cuboid) Find minimum number of soli
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.
Sign in to chat with the tutor and save your progress.
Sign in to start