AI Word Correction
CodeChefOpen on judge ↗
$Mr.Hannibal$ is a Software Engineer, with specialization in Artificial Intelligence. He is really annoyed by the words that have a mix of **Upper and Lower case characters**. Thus he wanted to build a software that would change the letters' register in every word so that it either **only** consists of lowercase letters or, vice versa, only of uppercase ones. Mr.Hannibal also wants to make sure
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