6 solutions

  • 0
    @ 2026-5-16 9:35:19

    #include<bits/stdc++.h>

    using namespace std;

    int main() { int a,b;

    cin>>a>>b;
    
    int t=b/a;
    
    if(b%a==0)
    
    {
    	t--;
    }
    char c='A'+t;
    
    cout<<c; 
    
    return 0;
    

    }

    Information

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