Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
39718 yihang 健康身材(health)(2024年岳阳市赛小学组) C++ 通过 0 MS 240 KB 213 2024-05-05 10:35:35

Tests(13/13):


#include"bits/stdc++.h" using namespace std; double a,b,ans=0; int main(){ cin>>a>>b; ans=a/((b/100)*(b/100)); if(ans<18.5)cout<<"thin"; else if(ans>=18.5&&ans<=24)cout<<"great"; else cout<<"fat"; }


测评信息: