3 条题解

  • 3
    @ 2020-09-16 22:49:43

    python3

    a=int(input())
    b=int(input())
    while(1):
        if a>=100 or b>=100:
            a=int(input())
            b=int(input())
        else:
            break
            
    if a>20:
        c=32+(a-20)*2.4
    elif a<=20:
        c=a*1.6
    
    d=b*0.8
    
    if c+d<=13:
        e=13
    elif c+d>13:
        e=c+d
    print(round(e/1,1))
    
    
    
    
  • 0
    @ 2020-09-14 22:37:11

    #python 3
    a=int(input())
    b=int(input())
    if a<=20:
    c=a*1.6+b*0.8
    else:
    c=32+(a-20)*2.4+b*0.8
    if c<13:
    c=13.0
    print(round(c,1))

  • -1
    @ 2020-09-14 22:25:05

    s=int(input())
    t=int(input())
    m=t*0.8
    if s<=20:
    m=m+s*1.6
    else:
    m+=32
    s-=20
    m=m+s*2.4
    if m<=13:
    m=13
    p=round(m/1,1)
    print(p)

  • 1

信息

ID
1003
难度
8
分类
(无)
标签
(无)
递交数
1304
已通过
122
通过率
9%
上传者