Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
39713 | 未命名(之人) | 健康身材(health)(2024年岳阳市赛小学组) | C++ | 编译错误 | 0 MS | 0 KB | 214 | 2024-05-05 10:25:20 |
#include "bits/stdc++.h" using namespace std; double n,m,bmi; int main(){· cin>>n>>m; m/=100; bmi=n/(m*m); if(bmi<18.5)cout<<"thin"; else if(bmi<=24)cout<<"great"; else cout<<"fat"; return 0; }