3 条题解

  • 1
    @ 2024-7-21 13:35:59
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        string s;
        getline(cin,s);
        for(char &c : s)
        {
            if(c >= 'A' && c <= 'Z')
            {
                c=(26+c-'A'-5)%26+'A';
            }
        }
        cout << s;
        return 0;
    }
    

    加油

    信息

    ID
    2086
    时间
    1000ms
    内存
    256MiB
    难度
    3
    标签
    递交数
    280
    已通过
    114
    上传者