1 条题解

  • 0
    @ 2025-11-27 16:36:39

    C++中的pow()函数是标准数学库中的幂运算函数,用于计算x的y次方。

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

    • 1

    信息

    ID
    459
    时间
    1000ms
    内存
    128MiB
    难度
    6
    标签
    递交数
    24
    已通过
    10
    上传者