f434. 458 - The Decoder
Tags : CPE UVA 凱薩加密 字串
Accepted rate : 371人/410人 ( 90% ) [非即時]
評分方式:
Tolerant

最近更新 : 2020-11-22 12:37

Content

輸出加密字串的原字串

Write a complete program that will correctly decode a set of characters into a valid message. Your program should read a given file of a simple coded set of characters and print the exact message that the characters contain. The code key for this simple coding is a one for one character substitution based upon a single arithmetic manipulation of the printable portion of the ASCII character set.

Input

加密字串

Output

輸出原字串

Sample Input #1
1JKJ'pz'{ol'{yhklthyr'vm'{ol'Jvu{yvs'Kh{h'Jvywvyh{pvu5
1PIT'pz'h'{yhklthyr'vm'{ol'Pu{lyuh{pvuhs'I|zpulzz'Thjopul'Jvywvyh{pvu5
1KLJ'pz'{ol'{yhklthyr'vm'{ol'Kpnp{hs'Lx|pwtlu{'Jvywvyh{pvu5
Sample Output #1
*CDC is the trademark of the Control Data Corporation.
*IBM is a trademark of the International Business Machine Corporation.
*DEC is the trademark of the Digital Equipment Corporation.
測資資訊:
記憶體限制: 512 MB
公開 測資點#0 (20%): 1.0s , <10M
公開 測資點#1 (20%): 1.0s , <10M
公開 測資點#2 (20%): 1.0s , <10M
公開 測資點#3 (20%): 1.0s , <10M
公開 測資點#4 (20%): 1.0s , <10M
Hint :

2020 10月CPE第二題

Tags:
CPE UVA 凱薩加密 字串
出處:
UVA458 [管理者: DE45A (一葉之秋) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
23760 406490150@gm ... (我是朱朱) f434
1358 2020-12-16 01:12