floors
CodeChefOpen on judge ↗
Nothing seems impossible to Mr. Paw-see Ball! Ignorance is his strength! His current project is to build the tallest building on earth. The building will be so tall that it will reach the moon! The moon being at least 225,623 miles away from the earth, the building will have over a billion floors! Think Paw-see Ball? Mr. Paw-see Ball is a bit superstitious, too (no wonder). He hates 0’s as
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