题解 2767: 计算多项式的值

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

筛选

常规解法使用map函数

摘要:解题思路:使用map函数注意事项:输入字符类型为float参考代码:x,a,b,c,d=map(float,input().split())fx=a*x**3+b*x**2+c*x+dprint(&#……

python,基础运算

摘要:解题思路:注意事项:参考代码:nums = list(map(float, input().strip().split()))x, a, b, c, d = numsfx = a * x ** 3 +……

题解 2767: 计算多项式的值

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

python 计算多项式的值

摘要:解题思路:比较简单,仍用map函数注意事项:参考代码:x,a,b,c,d=map(float,input().split())print(&#39;%.7f&#39;%(a*x*x*x+b*x*x+c……

2767: 计算多项式的值

摘要:解题思路:  先思考数学中的式子,拿到C语言中该如何解决   a,b,c,d,x  是我们自己输入的是给定的值   X的三次方就是3个X相乘 X*X*X   那就好解决咯参考代码:#include<s……

计算多项式的值

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    double x, a, b, c, d;    scanf("%lf %lf %lf %lf %lf"……

java--study||O.o

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main {   public static void main(String[] ……

如有漏洞请指出谢谢

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……