AC

网名  •  29天前


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;

}


评论:

请先登录,才能进行评论