Intelligent Morty!
CodeChefOpen on judge ↗
Rick and Morty were cleaning their garage and Morty finds a magical strip of paper with a number written on it. Morty asked Rick about that paper and number. But Rick rudely (as usual) replied: *"You wouldn't get it Morty, Leave it as it is, you fool"* *"I'm as much intelligent as you are Rick!"* *"Morty, that piece of paper is special because you can change any digit written on it insta
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