~cpp #include <iostream> #include <string> #include <map> using namespace std; int main() { map<char, char> decode; string text = "ad md$ =i@@9z xy*@ -9z"; decode['a'] = 'D'; decode['$'] = 't'; decode['9'] = 'p'; decode['*'] = 'k'; decode['m'] = 'n'; decode['i'] = 'l'; decode['x'] = 'W'; decode['d'] = 'o'; decode['='] = 's'; decode['z'] = '!'; decode['-'] = 'u'; decode['@'] = 'e'; decode['y'] = 'a'; decode[' '] = ' '; for (int i = 0; i < text.size(); i++) cout << decode[text[i]]; cout << endl; return 0; }