The worst sister
CodeChefOpen on judge ↗
At school, Buzz’s computer teacher took a class about factorials. And gave it as an assignment to write the code for the same. Buzz had taken the following lines into his class work.! Factorial (n) = n*factorial (n-1). Buzz’s sister typed a few few lines of code on to his computer and now his system has crashed.! Don’t worry he managed to get it set. After coding he realised that there is some
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