1 条题解

  • 0
    @ 2025-2-21 12:28:49

    189

    x=input()
    while x!="":
        x=int(x)
        if x>0 and x<=10:
            print(6*x)
        if x>=11 and x<=20:
            print(60+2*(x-10))
        if x>=21 and x<40:
            print(80+x-20)
        if x>=40:
            print(100)
        x=input()
    
    
    • 1

    信息

    ID
    1371
    时间
    1000ms
    内存
    64MiB
    难度
    10
    标签
    递交数
    4
    已通过
    2
    上传者