delete pics to save space
This commit is contained in:
10
history_source/信息学奥赛一本通/1.2.3.2.cpp
Normal file
10
history_source/信息学奥赛一本通/1.2.3.2.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
double a,b,c,d,x;
|
||||
scanf("%lf%lf%lf%lf%lf",&a,&b,&c,&d,&x);
|
||||
double ans=a*x*x*x+b*x*x+c*x+d;
|
||||
printf("%.7lf\n",ans);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user