delete pics to save space

This commit is contained in:
2023-08-03 09:22:52 +08:00
commit de60cd6ed4
1334 changed files with 66221 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#include<cstdio>
using namespace std;
double h(int n,double x)
{
if(n==0) return 1;
if(n==1) return 2*x;
return 2*x*h(n-1,x)-2*(n-1)*h(n-2,x);
}
int main()
{
int n;
double x;
scanf("%d%lf",&n,&x);
printf("%g\n",h(n,x));
return 0;
}