Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
39560 | www.luogu.com | 健康身材(health)(2024年岳阳市赛小学组) | C++ | 通过 | 0 MS | 244 KB | 236 | 2024-05-04 16:19:44 |
#include<bits/stdc++.h> using namespace std; float a,b,o=0; int main(){ cin>>a>>b; b/=100; o=a/b/b; if(o<18.5){ cout<<"thin"; } if(o>=18.5&&o<=24){ cout<<"great"; } if(o>24){ cout<<"fat"; } }