Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
34435 奚晨瑞 陶陶摘苹果 C++ 解答错误 0 MS 256 KB 268 2023-12-22 15:46:00

Tests(0/10):


#include<iostream> using namespace std; int main() { float m,h; cin>>m>>h; float BMI=m/(h*h); if(BMI<18.5){ cout<<"Underweight"; } else if(BMI<24){ cout<<"Normal"; } else{ printf("%.6g\n",BMI); cout<<"Overweight"; } return 0; }


测评信息: