38: Calculation of the derivative function of the polynomial

38: Calculation of the derivative function of the polynomial

#include <stdio.h>
int main()
{
	int i,n;
	scanf("%d",&n);
	if(n==0){printf("0");return 0;}
	for(i=n;i>=1;i--)
	{	
	    int num;scanf("%d",&num);
	    printf("%d ",num*i);
	}
        return 0;
}

 

Guess you like

Origin blog.csdn.net/qq_42861250/article/details/90731325