#include <iostream> std::string getBodyType(double weight, double height) { double bmi = weight / (height * height); if (bmi < 18.5) { return "偏瘦"; } else if (bmi >= 18.5 && bmi < 20.9) { return "苗条"; } else if (bmi >= 20.9 && bmi < 24.9) { return "适中"; } else { return "偏胖"; } } int main() { double weight, height; std::cin >> weight; std::cin >> height; std::string bodyType = getBodyType(weight, height); std::cout << bodyType << std::endl; return 0; }