Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
2728 A班-过懿萱 计算多项式的值 C++ 通过 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; }


测评信息: