{"problem":{"name":"Hermite 多项式","description":{"content":"求 Hermite 多项式的值。 $$ h_n(x)=\\left\\{ \\begin{aligned} 1&，&n=0\\\\ 2x&，&n=1\\\\ 2xh_{n-1}(x)-2(n-1)h_{n-2}(x)&，& n>1 \\end{aligned} \\right. $$ 对给定的 $x$ 和正整数 $n$，求多项式的值。","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":"LGB2146"},"statements":[{"statement_type":"Markdown","content":"求 Hermite 多项式的值。\n\n$$\nh_n(x)=\\left\\{\n\\begin{aligned}\n1&，&n=0\\\\\n2x&，&n=1\\\\\n2xh_{n-1}(x)-2(n-1)h_{n-2}(x)&，& n>1\n\\end{aligned}\n\\right.\n$$\n\n对给定的 $x$ 和正整数 $n$，求多项式的值。\n\n## Input\n\n输入两个正整数 $n$ 和 $x$ 。\n\n## Output\n\n求多项式的值。\n\n[samples]\n\n## Note\n\n$(n \\le 8，x \\le 8)$","is_translate":false,"language":"English"}],"meta":{"iden":"LGB2146","tags":["函数与递归"],"sample_group":[["1 2","4"]],"created_at":"2026-03-03 11:09:25"}}