Pyramid falls
CodeChefOpen on judge ↗
Problem description. Atsi and his friend got together after a long time and had some fun arranging glasses(instead of playing cards) in form of pyramids. \_/ \_/\_/ \_/\_/\_/ \_/\_/\_/\_/ . . . Unlike card towers, glass towers are fun because you can pour water into them. They decided to pour water only into the top glass. One might notice, as the top glass fills up, water overflows from the s
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