CT188

Convert to Uppercase

EasyAcceptance: 0.0%

The enchanted forest of Bitwood is home to the Dryad of Data, who weaves spells from threads of information. Tonight, the moon is full, and the Dryad has issued a Pixel Pusher challenge to all who seek her blessing. The challenge is named "Convert to Uppercase", and the spirits of the forest gather to witness the attempt. A young druid named Sylas steps into the moonlit grove. The Dryad's eyes shimmer with starlight as she presents the riddle. If Sylas succeeds, the forest will grant him a powerful boon. If he fails, the trees will whisper of his mistake for a hundred years. The enchanted forest of Bitwood is home to the Dryad of Data, who weaves spells from threads of information. Tonight, the moon is full, and the Dryad has issued a Pixel Pusher challenge to all who seek her blessing. The challenge is named "Convert to Uppercase", and the spirits of the forest gather to witness the attempt. A young druid named Sylas steps into the moonlit grove. The Dryad's eyes shimmer with starlight as she presents the riddle. If Sylas succeeds, the forest will grant him a powerful boon. If he fails, the trees will whisper of his mistake for a hundred years. Read a string S from standard input and print it in uppercase. The Dryad's spell is bounded by the following magical laws, which no mortal can break: 1 <= |S| <= 1000, S contains only letters For guidance, the fireflies trace these example patterns in the air: Input: hello Output: HELLO The moon is high, and the shadows are long. Sylas raises his staff and begins to chant. Your code is the incantation that will determine his fate. Weave it carefully, for the Dryad's magic is exacting and does not forgive errors. The Dryad's spell is bounded by the following magical laws, which no mortal can break: 1 <= |S| <= 1000, S contains only letters For guidance, the fireflies trace these example patterns in the air: Input: hello Output: HELLO The moon is high, and the shadows are long. Sylas raises his staff and begins to chant. Your code is the incantation that will determine his fate. Weave it carefully, for the Dryad's magic is exacting and does not forgive errors. The path to mastering Convert to Uppercase is not one that can be walked in a single step. It demands patience, precision, and a deep respect for the boundaries that shape the problem. Many adventurers before you have attempted this trial and failed, their code crashing against the very constraints that the elders inscribed. But you have the tools. You have the training. You have reached the Pixel Pusher tier, and that alone means the council believes in your potential. Look once more at the examples above. Trace the logic with your finger if you must. Consider the time and memory limits carefully, for they are not suggestions but strict laws of the arena. When you are ready, commit your solution. Let the compiler run. Let the test cases judge your work. If your code is true, the gates will open and you will move closer to the ultimate rank. If not, study the failure, sharpen your algorithm, and try again. For in the halls of CodeTikki, the only thing more important than success is the wisdom gained from the attempt. Remember that the Pixel Pusher challenge is designed to test not just knowledge, but character. Every edge case is a lesson. Every time limit is a teacher. Every hidden test is a guardian at the gate. Do not rush. Let your code breathe. Let it be as clean as a mountain stream. When the final test passes, you will know that you have earned the title. Until then, code with courage, test with care, and never stop learning.

Constraints:

1 <= |S| <= 1000, S contains only letters

Loading...
Test Cases:No test cases
No test cases available.
Coding Problem Not Found | CodeTikki