题解
请多多关照
题解如下:
#include<bits/stdc++.h>
using namespace std;
int main(){
double n,m;
cin >> n >> m;
double ans = m / (n * n);
printf("%.2lf ",ans);
if(ans < 18.5) cout << "thin";
else if(ans < 23.9) cout << "normal";
else cout << "obese";
return 0;
}
加油!