-->
当前位置:首页 > 题库

PROGRAMMING:Task 10-01-03 simple password

Luz5年前 (2021-05-10)题库378
Task 10-01-03 simple password
###Task description
```
Julius Caesar used to use a very simple password. For each character in plaintext, replace it with the corresponding character of the last five digits in its alphabet to get ciphertext. For example, the character a is replaced by F. The following is the correspondence between the characters in ciphertext and plaintext.
Ciphertext a B C D E F G H I J K L M n o p q r s t U V W x y z
Plaintext V W x y z a B C D E F G H I J K L M n o p q r s t u
Your task is to decrypt the given ciphertext to get plaintext.
You need to note that all the letters in the ciphertext are capital letters. The ciphertext also includes non alphabetic characters, which need not be decoded.
```
###Input format:
```
One line, give ciphertext, ciphertext is not empty, and the number of characters is not more than 200.
```
###Output format:
```
Output a line, that is, the plaintext corresponding to the ciphertext.
```
###Input example:
```in
NS BFW, JAJSYX TK NRUTWYFSHJ FWJ YMJ WJXZQY TK YWNANFQ HFZXJX
```
###Output example:
```out
IN WAR, EVENTS OF IMPORTANCE ARE THE RESULT OF TRIVIAL CAUSES
```
###Title Source
This topic is selected from openjudge website http://noi.openjudge.cn/ch0107/10/







answer:If there is no answer, please comment