2 solutions

  • 0
    @ 2026-1-13 17:18:49

    #include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n>=90){ cout<<"A"; }else if(n<90&&n>=70){ cout<<"B"; }else if(n<70&&n>=60){ cout<<"C"; }else{ cout<<"D"; } return 0; }

    Information

    ID
    866
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    10
    Tags
    # Submissions
    5
    Accepted
    4
    Uploaded By