1216: 简单编码
时间限制:1 Sec 内存限制:128 MB
提交:674 解决:309
题目描述
最近Kingly对编码很感兴趣,于是从网上找了一些
编码原则来对字符串做实验。
由于Kingly一直很忙,所以希望你这位编程高手
来替他解决这个问题。下面是编码原则:
(1) 如果访问到字符A,W,F就转化成I;
(2) 如果访问到字符C,M,S就分别转化成L,o,v;
(3) 如果访问到字符D,P,G,B就转化成e;
(4) 如果访问到字符L,X就分别转化成Y,u;
(5) 其他字符均保持不变。
(6) 遇到END就结束!
样例输入 Copy
I HIGH-SPEED RAIL LINK BETWEEN EEIJING AND VHANGHAI AND A MAGLEV LINE BETWEEN VHANGHAI AND NEIGHBOURING.
HANGZHOU HAVE BEEN APPROVED BY THE VTATE LOUNCIL, LHINA'S CABINET.
THE EEIJING-VHANGHAI RAILWAY WILL "USE HIGH SPEED WHEEL TRACK TECHNOLOGY,"
THE NATIONAL EEVELOPMENT AND REFORM LOMMISSION(NERL) THE COUNTRY'S TOP PLANNER SAID ON ITS WEBSITE YESTERDAY.
END
样例输出 Copy
I HIeH-veEEe RIIY YINK eETIEEN EEIJINe INe VHINeHII INe I oIeYEV YINE eETIEEN VHINeHII INe NEIeHeOURINe.
HINeZHOU HIVE eEEN IeeROVEe eY THE VTITE YOUNLIY, YHINI