← All problemsSign in

Evolution Number

Pokemon being of several types are obsessed with different numbers. Among all,Pikachu, has this obsession with the number 9. (Because when Pikachu gets a 9, he evolves to Raichu and becomes more powerful!). One day, Pikachu finds an N digit number in Pokeland. An idea strikes him, and he wonders if that number is an Evolution number and if yes then how many N-digit Evolution numbers are possible.

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