| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 8517 | 陈路垚 | 肥胖问题 | C++ | Accepted | 100 | 0 MS | 248 KB | 247 | 2020-10-31 22:56:16 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,b,ans; cin>>a>>b; ans=a/(b*b); if(ans<18.5) cout<<"Underweight"; if(ans>=18.5&&ans<24) cout<<"Normal"; if(ans>24){ cout<<ans<<" "<<"Overweight"; } return 0; }