1 条题解

  • 1
    @ 2025-9-28 21:34:07

    C10505等级判定题解:

    本题考的是条件判断,利用if判断即可AC:

    #第1部分:
    n=int(input())
    e=0
    #第2部分:
    if(n>=90 or n==100):
        if(n>100):
            print("error")
            e+=1
          #第4部分:
            if(e==0):
                print("Excellent")
        if(n>=90 and n<=100):      
            print("Excellent")
    #第5部分:
    elif(n>=70 and n<=80):
        print("good")
    #第6部分:
    elif(n>=0 and n<=69):    
        print("normal")
    

    信息

    ID
    69
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    136
    已通过
    64
    上传者