题解 2825: 计算多项式的值

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

计算多项式的值

摘要:##计算多项式的值 如下 ``` #include using namespace std; int main(){ double x,n,x2=1; cin>>x>>n; do……

2825: 计算多项式的值

解题思路:注意事项:此代码未通过,不知道问题出在哪里参考代码:a,b=map(str,input().split())a=float(a)b=int(b)s=0foriinrange(0,b+1):s+=a**iprint("%.2f"%s)

2825: 计算多项式的值

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    double x,a,sum = 0;//要复出值  ……

题解 2825: 计算多项式的值

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    double x,n,sum=1,a;    cin>……

题解 2825: 计算多项式的值

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double x,sum=0;    long lo……