Naruto and Konahamaru
CodeChefOpen on judge ↗
Konahamaru and Naruto were on a mission to catch a fierce cat. After carrying out the mission successfully, both of them are feeling very hungry. Hence, they decided to go to the ramen shop to have some Ichiraku Ramen (A Japanese Dish). Good things do not come your way so easily, neither does Ichiraku Ramen. Chef at the ramen shop has given them a string of length L, consisting of only characters
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