QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#422285#4430. Hidden PasswordQBFAC ✓6ms3792kbC++14290b2024-05-27 10:46:332024-05-27 10:46:33

Judging History

你现在查看的是最新测评结果

  • [2024-05-27 10:46:33]
  • 评测
  • 测评结果:AC
  • 用时:6ms
  • 内存:3792kb
  • [2024-05-27 10:46:33]
  • 提交

answer

#include <bits/stdc++.h>
#define endl '\n'
const int N = 2e5 + 4;
int T, n;
char c[N];
int main(){
	scanf("%d",&T);
	while (T--){
		scanf("%s",c+1);
		n = strlen(c + 1);
		for (int i = 1; i <= n; i++)
			std::putchar((c[i] - 'a' + 13) % 26 + 'a');
		puts("");
	}
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 6ms
memory: 3792kb

input:

20
aeljltfjjqdplqkoevfocfopmigcwtdkehcbrrjrukkjnaozzbpxaiusphivkjbyqqwxyngvkczgilniutalgskhpbcpmwdbjdekkihyuoteiurjvhgixsehjxtqugjzwelxmjqbunoyofvgsomzwrsjrddrmjebpovwebpzmmdbgghyisvqlwalutpffxvypxfphdmnudyjdjsnyhgctmhpzmayzjodaezeoxgkuioqiquffjzndmdqsdjuxlyrviisvczkxeyhpxejksmtohxcfkghsiiiyiliehmks...

output:

nrywygswwdqcydxbrisbpsbczvtpjgqxrupoeewehxxwanbmmocknvhfcuvixwolddjklatixpmtvyavhgnytfxucopczjqowqrxxvulhbgrvhewiutvkfruwkgdhtwmjrykzwdohablbsitfbzmjefweqqezwrocbijrocmzzqottulvfidyjnyhgcsskilckscuqzahqlwqwfalutpgzucmznlmwbqnrmrbktxhvbdvdhsswmaqzqdfqwhkyleivvfipmxkrluckrwxfzgbukpsxtufvvvlvyvruzxfbsw...

result:

ok 20 lines

Extra Test:

score: 0
Extra Test Passed