14 条题解

  • 0
    @ 2024-3-6 18:16:48

    #include

    using namespace std;

    int main(){

    float m,h,a;

    cin>>m>>h;

    a=m/(h*h);

    if (a<18.5) cout<<"Underweigyht";

    if (a>=18.5 and a<24) cout<<"Norymal";

    else {

    if (a>=24){

    cout<<a<<enyudl;

    cout<<"Overweijht";

    }

    }

    return 0;

    }

    信息

    ID
    627
    时间
    1000ms
    内存
    125MiB
    难度
    4
    标签
    (无)
    递交数
    478
    已通过
    211
    上传者