1 solutions

  • 0
    @ 2026-11-14 11:35:50

    C++ :

    #include <bits/stdc++.h>
    using namespace std;
    int main(){
        int n;
        cin >> n;
        for (int i=0;i<26;i++){
            char c = 'A' + (i + n + 26) %26;
            cout << c;
        }
        
        return 0;
    }
    
    • 1

    Information

    ID
    142
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    10
    Tags
    # Submissions
    4
    Accepted
    2
    Uploaded By