7 solutions

  • 0
    @ 2026-7-30 11:32:42
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int n,x;
        cin>>n>>x;
        int t=0;
        if(x%n==0)
        {
            t=x/n;
        }
        else
        {
            t=x/n+1;
        }
        if(t!=0)
        {
            cout<<char(t+64);
        }
        else
        {
            cout<<'A';
        }
        return 0;
    }
    

    Information

    ID
    2404
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    234
    Accepted
    81
    Uploaded By