Play With ASCII
CodeChefOpen on judge ↗
Sona and Mona are twin siblings. Mona always copied Sona which irritated him. Once they were playing a game in which Sona selected a string and wrote it in his hand. Mona wants to select the same string but don't want her brother to know about it. Help Mona play the game. As Sona loves characters and mona loves numbers. Mona selects one character at a time from Sona's string and reverse its ASCII
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