{"problem":{"name":"[CCC 2008 J1] Body Mass Index","description":{"content":"The Body Mass Index (BMI) is one of the calculations used by doctors to assess an adult’s health. The doctor measures the patient’s height (in metres) and weight (in kilograms), then calculates the BM","description_type":"Markdown"},"platform":"Luogu","limit":{"time_limit":1000,"memory_limit":131072},"difficulty":{"LuoguStyle":"P1"},"is_remote":true,"is_sync":true,"sync_url":null,"sign":"LGP9854"},"statements":[{"statement_type":"Markdown","content":"The Body Mass Index (BMI) is one of the calculations used by doctors to assess an adult’s health. The doctor measures the patient’s height (in metres) and weight (in kilograms), then calculates the BMI using the formula:\n\n$$\\text{BMI} = \\dfrac{\\text{weight}}{\\text{height} \\times \\text{height}}$$\n\nWrite a program which prompts for the patient’s height and weight, calculates the BMI, and displays the corresponding message from the table below.\n\n| BMI Category | Message |\n| :----------: | :----------: |\n| More than $25$ | Overweight |\n| Between $18.5$ and $25.0$ (inclusive)  | Normal weight |\n| Less than $18.5$ | Underweight |\n\n## Input\n\nOn the first line, enter your weight, and on the second line, enter your height (in meters).\n\n## Output\n\nOutput the information corresponding to the BMI value obtained.\n\n[samples]\n\n## Note\n\n**Explanation for Output in Sample Input 1**:\n\nThe BMI is $69 \\div (1.73 \\times 1.73)$, which is approximately $23.0545$. According to the table, this is a \"Normal weight\".\n\n**Explanation for Output in Sample Input 2**:\n\nThe BMI is $84.5 \\div (1.8 \\times 1.8)$, which is approximately $26.0802$. According to the table, this is \"Overweight\".","is_translate":false,"language":"English"}],"meta":{"iden":"LGP9854","tags":["2008","CCC（加拿大）"],"sample_group":[["69\n1.73","Normal weight"],["84.5\n1.8","Overweight"]],"created_at":"2026-03-03 11:09:25"}}