AC

123Y456  •  29天前


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;

}


评论:

请先登录,才能进行评论