題號:10222 簡單 Base CPE必考一星題 CPE歷屆試題

Online Judge - 10222 - Decode the Mad man

來源代碼:UVa 時間限制:3 s

題目說明

Once in BUET, an old professor had gone completely mad. He started talking with some peculiar words. Nobody could realize his speech and lectures. Finally the BUET authority fall in great trouble. There was no way left to keep that man working in university. Suddenly a student (definitely he was a registered author at UVA ACM Chapter and hold a good rank on 24 hour-Online Judge) created a program that was able to decode that professor’s speech. After his invention, everyone got comfort again and that old teacher started his everyday works as before. So, if you ever visit BUET and see a teacher talking with a microphone, which is connected to a IBM computer equipped with a voice recognition software and students are taking their lecture from the computer screen, don’t get thundered! Because now your job is to write the same program which can decode that mad teacher’s speech!

輸入說明

The input file will contain only one test case i.e. the encoded message. The test case consists of one or more words.

輸出說明

For the given test case, print a line containing the decoded words. However, it is not so hard task to replace each letter or punctuation symbol by the two immediately to its left alphabet on your standard keyboard.

輸入輸出範例

範例輸入
k[r dyt I[o
範例輸出
how are you

討論

登入後即可加入討論。 登入

目前還沒有討論文章。

提交解答

登入後即可提交解答。

登入

最近提交

Yogurt
C/C++ · 2026-07-28 19:53
AC