AC 网名 · 发布于 2025-10-19 · 浏览 278 回复 0 include include using namespace std; int main() { string key, s; getline(cin, key); getline(cin, s); for (char c : s) if (c >= 'A' && c <= 'Z') cout << key[c - 'A']; else cout << c; return 0; }