#include <iostream> #include <string> using namespace std; string GetEncryptionTable(const string key) { string encryptionTable {}; int table[26] {}; // 下标表示a~z string fkey {}; // 按顺序添加key上的字母 for (auto ch : key) { table[ch - 'a'] ++; if (encryptionTable.find(ch) == encryptionTable.npos)...