跳到正文

剪贴板

剪贴板 k3xsjnep

原文
剪贴板信息

剪贴板信息

收录
更新
C++
#include <iostream>
#include <cstdio>
using namespace std;
const string dict = "yfrbkgimujvphatdsnelozcxwq";
void solve()
{
	string s;
	cin >> s;
	for (char x : s) cout << dict[x - 'a'];
	cout << '\n';
}
int main()
{
	freopen("C://Users//123//Desktop//P5246-Problem//input1.txt", "r", stdin);
	freopen("C://Users//123//Desktop//P5246-Solution//output1.txt", "w", stdout);
	ios::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr);
	int testcase, T;
	cin >> testcase >> T;
	while (T--) solve();
	return 0;
}