Problem 3
CodeChefOpen on judge ↗
Iron Man is fond of solving different tasks. Today he found one, he wasn't able to solve himself, so he asks you to help. A string is given to you, if the string doesn't look fancy then make string fancy by deleting some characters. A string is called fancy if in starting string contains zero or more uppercase characters and then zero or more lowercase characters. Example: ABC, ABaa, def
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