Chefs New Year Letter
CodeChefOpen on judge ↗
Chef wrote a letter for the new year 2022 but made a few errors and wanted to correct them, he didn’t want to waste his time by correcting each one of them he told you to write a program to detect and correct the message and output it. He wanted 2 mistakes to be corrected, those are- - Everywhere he wrote “2021” should be exchanged with “2022”. - Instead of a single space between characters he wro
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