Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
11351 slx 计算多项式的值 C++ Accepted 1 MS 252 KB 179 2023-03-10 14:54:55

Tests(1/1):


#include <bits/stdc++.h> using namespace std; int main(){ double x,a,b,c,d; cin>>x>>a>>b>>c>>d; double fx; fx=a*x*x*x+b*x*x+c*x+d; cout<<fixed<<setprecision(7)<<fx; }


Judgement Protocol: