Maiden Date Preparations
CodeChefOpen on judge ↗
Chef has made a “To Do List” for the Valentine's week. He does not want anyone to know about his plans. Chef is smart and he has written the list in a code language, so that if anyone gets the list he or she won't be able to understand it. His code language is as follows: Chef takes a number N, he then replaces all the a's if any in the list by the Nth alphabet, all the b's by the (N+1)th alphab
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