AC

123Y456 · 发布于 2025-10-19 · 浏览 275 回复 0

include

include

using namespace std;

int main() {

string key, s;
getline(cin, key);
getline(cin, s);
for(char c: s)
	if(isupper(c))cout << key[c - 'A'];
	else cout << c;	

return 0;

}

全部回复 共 0 条

还没有人回复。往下写第一条。

发表回复