Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
2728 A班-过懿萱 计算多项式的值 C++ Accepted 100 1 MS 272 KB 243 2024-12-21 10:59:30

Tests(4/4):


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


Judgement Protocol: