| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 8194 | 郑奚桐 | 肥胖问题 | C++ | Wrong Answer | 66 | 0 MS | 260 KB | 247 | 2020-10-31 17:01:11 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,ans; double h; cin>>m>>h; ans=m/(h*h); if(ans<18.5) cout<<"Underweight"; if(ans>=18.5&&ans<24) cout<<"Normal"; if(ans>=24) cout<<ans<<endl<<"Overweight"; return 0; }