求数学函数f(x)=x^3+x^2+x+1的值

Posted on 2022-09-08 16:30  lachesism  阅读(150)  评论(0)    收藏  举报
#include <stdio.h>
 main( )
 {
   int x=0;
   int r=0;
   scanf("%d",&x);
   r=x*x*x+x*x+x+1;
   printf("%d",r);
 }