回分類題庫
d302: (1052cp2_ex5) NCCUCS Decoder
出處:UVa Online Judge

Difficulity : 2
Accepted : 63 Times | Submit :294 Times | Clicks : 824
Accepted : 56 Users | Submit : 63 Users | Accepted rate : 89%
Time Limit :10000 ms | Memory Limit : 64000 KBytes
題目加入時間 : 2017-03-22 22:59

Content :

Once in NCCUCS, an old professor had gone completely mad. He started talking with some peculiar words. Nobody could realize his speech and lectures. Finally the school authority fall in great trouble. There was no way left to keep that man working in university. Suddenly a smart student 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.

Now your job is to write the same program which can decode that mad teacher’s speech!

Input :

The input file will contain only one test case i.e. the encoded message.

The test case consists of one or more words. And the words could be upper or lower case.

Output :

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 alphabet following some rules on your standard keyboard.

Sample Input :

k[r dyt i[o
ftt i[o djdp,```
,bbobf fuogt,u
kt''[ r[y'g

Sample Output :

how are you
see you again...
nccucs student
hello world

Hint :


  

Author :

UVa Online Judge (管理員:cp2ta)

  Solve it!   Status Forum (0)

C++
C
JAVA
81269. whangwang (8 ms , 404KB)
81102. nccucs105703005 (2 ms , 190KB)
81103. nccucs105703010 (3 ms , 173KB)
81056. oop103702024 (3 ms , 181KB)
81236. nccucs105703016 (4 ms , 176KB)
81233. nccucs105703053 (4 ms , 180KB)
81268. whangwang (111 ms , 943KB)
81239. stanley (124 ms , 1410KB)
81457. sp17104703042 (141 ms , 1852KB)

執行時間會受很多因素影響因此僅供參考,主機等級請看這裡