这题简直就是坑爹!
因为图没显示全!(把图另存到本地看!后面还有两个字母,R和S)
而且是下面的是密文,上面是对应的翻译!
我靠,玩人呢?
// Date: 2012-07-
// URL:
#include <iostream>
#include <stdio.h>
using namespace std;
char a[]=
{
'B','C','D','A','I','J','G','K','E','F','H','O','P','Q','L','M','N',' ',',','Z','Y','X','W','V','U','T'
};
char mango[256];
char str[110];
int main()
{
freopen("E:\\input.txt", "r", stdin);
for(int i=0; i<26; i++)
mango[ a[i] ] = i + 'A';
mango['S'] = ' ';
mango['R'] = ',';
while(gets(str) != NULL)
{
int len = strlen(str);
for(int i=0; i<len; i++)
{
str[i] = mango[str[i]];
}
for(int i=len-1; i>=0; i--)
cout << str[i];
cout << endl;
}
return 0;
}