1 条题解

  • 0
    @ 2025-3-29 16:19:23
    #include<bits/stdc++.h>
    using namespace std;
    int main() {
        string ciphertext;
        getline(cin,ciphertext);
        for (char &c:ciphertext) {
            if (isupper(c)) {
                c = ((c-'A'-5+26)%26)+'A';
            }
        }
        cout<<ciphertext<<endl;
        return 0;
    }
    
    • 1

    信息

    ID
    440
    时间
    1000ms
    内存
    256MiB
    难度
    10
    标签
    递交数
    9
    已通过
    2
    上传者