9 solutions
-
0
Guest MOD
Information
- ID
- 1342
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 3
- Tags
- (None)
- # Submissions
- 120
- Accepted
- 63
- Uploaded By
周政仰 (lqst2025051) LV 7 MOD @ 2 周前 #include<bits/stdc++.h> using namespace std; float m,h,ans; int main(){ cin>>m>>h; ans=m/(h*h); if(ans<18.5){ cout<<"Underweight"; } else if(ans>=18.5&&ans<24){ cout<<"Normal"; } else if(ans>=24){ cout<<ans<<"\n"<<"Overweight"; } return 0; }
演都不演了,抄袭我的不带连名字也抄吧?
6
谢谢你//傻子吧
?
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.