← All problemsSign in

Small Volume

###Statement **Hritik** gave his friend a cude with side **L**. The L x L x L cube is made up of small 1 x 1 x 1cubes. Hritik's friend wants to become a mathematician, so he dropped the cube inside a tank filled with water. Since the water was dirty, the cube also got dirty. As his friend do not likes dirty stuffs so he decided to scrap off the smaller cubes that got dirty. A cube that ha

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