Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
51415 fengxiaohang 计算多项式的值 C++ Accepted 1 MS 248 KB 174 2024-09-21 18:18:54

Tests(1/1):


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


Judgement Protocol: