1 条题解

  • 0
    @ 2025-10-26 18:04:51
    #include <bits/stdc++.h>
    using namespace std;
    
    int main() {
        double z,m,h;
        cin >> m >> h;
        z = (m /(h * h));
        if (z < 18.5) cout << "Underweight";
        else if (z >= 18.5 && z < 24) cout << "Normal";
        else cout << z << endl << "Overweight";
        return 0;
        
    }
    
    
    
    • 1

    信息

    ID
    684
    时间
    1000ms
    内存
    256MiB
    难度
    10
    标签
    (无)
    递交数
    6
    已通过
    4
    上传者