RYIP在线题库
设为首页
|
加入收藏
习题
分类
状态
排名
RYIP竞赛
登录和注册
首 页
>
习题练习
> 提交
RYIP在线题库
题目分类
提交状态
做题排名
RYIP竞赛
Problem1385--Hermite多项式
1385: Hermite多项式
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MB
Solved: 89
Submit: 162
Statistics
【 Description 】
当x>1时,Hermite多项式H
n
(x)的定义如下:
H
0
(x)=1
H
1
(x)=2x
H
n
(x)=2xH
n-1
(x)-2(n-1)H
n-2
(x)
现输入n和x的值,求Hn(x)的值
【 Input 】
输入一行,两个正整数n和x,其中 1<n,x<10
【 Output 】
输出对应的Hermite多项式Hn(x)的值
【 Sample Input 】
3 3
【 Sample Output 】
180
【 Source/Category 】
TW
递归