← All problemsSign in

Naruto and Sakura

Naruto's dream is to become the hokage of Hidden Leaf Village. To achieve this he has recently joined the Ninja Academy. On the first day at academy he developed a crush on Sakura. He asks Sakura to have dinner with him at Ramen Ichiraku. But Sakura instead of giving a straight forward answer, asked a puzzle and told him that the answer to the puzzle and her answer for his proposal are same. But N

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