1 条题解

  • 0
    @ 2024-9-15 22:30:30
    m,kg=map(float,input().split())
    b=kg/m/m
    if b < 18.5:
        print("偏瘦")
    elif (b>=18.5 and b<23.9):
        print("正常")    
    elif (b>=24 and b<27.9):
        print("偏胖")   
    elif (b>=28 and b<39.9):
        print("肥胖")  
    else:
        print("极重度肥胖")   
    
    • 1

    信息

    ID
    218
    时间
    1000ms
    内存
    64MiB
    难度
    7
    标签
    递交数
    74
    已通过
    19
    上传者