Dark Knight
CodeChefOpen on judge ↗
JOKER is preparing to dive into the acid bath with Harley but our so called hero Batman somehow gets this info and decides to revenge him for killing Rachel . For this Batman should reach the top floor. The building has a number of staircases and he likes to climb each staircase 1, 2, or 3 steps at a time . But still, he wonders how many ways there are to reach the top of the staircase. Given 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.
Sign in to chat with the tutor and save your progress.
Sign in to start