QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#542474#4430. Hidden PasswordwisniewskijAC ✓3ms3848kbC++20639b2024-09-01 01:55:062024-09-01 01:55:09

Judging History

This is the latest submission verdict.

  • [2024-09-01 01:55:09]
  • Judged
  • Verdict: AC
  • Time: 3ms
  • Memory: 3848kb
  • [2024-09-01 01:55:06]
  • Submitted

answer

#include <bits/stdc++.h>

#define ndl '\n'
#define ll long long
#define INF 1000000007
#define st first
#define nd second
#define debug(x) cout << #x << ": " << x << ndl
#define pb push_back
#define pob pop_back
#define pf push_front
#define pof pop_front
#define lb lower_bound
#define ub upper_bound
#define all(x) (x).begin(), (x).end()

using namespace std;

void rob() {
    string s; cin>>s;
    for(char c:s) {
        cout<<(char)((c-'a'+13)%26+'a');
    }
    cout<<'\n';
}

int main() {
    ios_base::sync_with_stdio(0); cin.tie(0);
    int t;
    cin>>t;
    for(int i=0;i<t;i++)
        rob();
}

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 3848kb

input:

20
aeljltfjjqdplqkoevfocfopmigcwtdkehcbrrjrukkjnaozzbpxaiusphivkjbyqqwxyngvkczgilniutalgskhpbcpmwdbjdekkihyuoteiurjvhgixsehjxtqugjzwelxmjqbunoyofvgsomzwrsjrddrmjebpovwebpzmmdbgghyisvqlwalutpffxvypxfphdmnudyjdjsnyhgctmhpzmayzjodaezeoxgkuioqiquffjzndmdqsdjuxlyrviisvczkxeyhpxejksmtohxcfkghsiiiyiliehmks...

output:

nrywygswwdqcydxbrisbpsbczvtpjgqxrupoeewehxxwanbmmocknvhfcuvixwolddjklatixpmtvyavhgnytfxucopczjqowqrxxvulhbgrvhewiutvkfruwkgdhtwmjrykzwdohablbsitfbzmjefweqqezwrocbijrocmzzqottulvfidyjnyhgcsskilckscuqzahqlwqwfalutpgzucmznlmwbqnrmrbktxhvbdvdhsswmaqzqdfqwhkyleivvfipmxkrluckrwxfzgbukpsxtufvvvlvyvruzxfbsw...

result:

ok 20 lines

Extra Test:

score: 0
Extra Test Passed