Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
39723 | yaozitao | 健康身材(health)(2024年岳阳市赛小学组) | C++ | 通过 | 0 MS | 248 KB | 218 | 2024-05-05 10:42:59 |
#include <bits/stdc++.h> using namespace std; double n,m,js,m1; int main(){ cin>>n>>m; m1=m/100; js=n/(m1*m1); if(js<18.5) cout<<"thin"; else if(js>24) cout<<"fat"; else cout<<"great"; return 0; }