Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
29182 lnx 计算多项式的值 C++ Accepted 0 MS 256 KB 181 2023-10-21 18:46:53

Tests(1/1):


#include<iostream> using namespace std; int main() { double a,b,c,d,x,f; scanf("%lf%lf%lf%lf%lf",&x,&a,&b,&c,&d); f=a*x*x*x+b*x*x+c*x+d; printf("%.7lf",f); return 0; }


Judgement Protocol: