QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#352351#4430. Hidden Passworducup-team1209#AC ✓8ms3732kbC++20463b2024-03-13 10:15:522024-03-13 10:15:53

Judging History

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

  • [2024-03-13 10:15:53]
  • 评测
  • 测评结果:AC
  • 用时:8ms
  • 内存:3732kb
  • [2024-03-13 10:15:52]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;

int T; 
string S; 

void Main() {
    cin >> S; 
    int l = S.length();
    for(int i = 0; i < l; i++) {
        int c = S[i] - 'a';
        c = (c + 13) % 26; 
        cout << (char) (c + 'a');
    }
    cout << '\n';
}

int main() {
    #ifdef zqj
    freopen("1.in","r",stdin);
    #endif 
    ios :: sync_with_stdio(0), cin.tie(0);
    cin >> T; 
    while(T--) Main();
    return 0; 
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 8ms
memory: 3732kb

input:

20
aeljltfjjqdplqkoevfocfopmigcwtdkehcbrrjrukkjnaozzbpxaiusphivkjbyqqwxyngvkczgilniutalgskhpbcpmwdbjdekkihyuoteiurjvhgixsehjxtqugjzwelxmjqbunoyofvgsomzwrsjrddrmjebpovwebpzmmdbgghyisvqlwalutpffxvypxfphdmnudyjdjsnyhgctmhpzmayzjodaezeoxgkuioqiquffjzndmdqsdjuxlyrviisvczkxeyhpxejksmtohxcfkghsiiiyiliehmks...

output:

nrywygswwdqcydxbrisbpsbczvtpjgqxrupoeewehxxwanbmmocknvhfcuvixwolddjklatixpmtvyavhgnytfxucopczjqowqrxxvulhbgrvhewiutvkfruwkgdhtwmjrykzwdohablbsitfbzmjefweqqezwrocbijrocmzzqottulvfidyjnyhgcsskilckscuqzahqlwqwfalutpgzucmznlmwbqnrmrbktxhvbdvdhsswmaqzqdfqwhkyleivvfipmxkrluckrwxfzgbukpsxtufvvvlvyvruzxfbsw...

result:

ok 20 lines

Extra Test:

score: 0
Extra Test Passed