#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c,d,x;//是double而不是int cin>>x>>a>>b>>c>>d; cout<<fixed<<setprecision(7)<<a*x*x*x+b*x*x+c*x+d;//公式 return 0; }
注册一个 Hydro 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 Hydro 通用账户