蓝桥杯算法提高VIP-Quadratic Equation题解(JAVA代码) 摘要:解题思路:一元二次方程求根公式先求出然后判断是否大于0来求方程的根注意事项:要注意对两个根的大小排序参考代码:import java.util.Scanner; public class Mai…… 题解列表 2021年03月14日 0 点赞 0 评论 239 浏览 评分:9.9
python代码 简要 摘要:解题思路:用公式注意事项:要比较x1,x2大小,不能单纯认为分子有+的一定大参考代码:a,b,c=map(float,input().strip().split())x1=(-1*b+pow(b*b-…… 题解列表 2022年01月26日 0 点赞 0 评论 206 浏览 评分:9.9
python 编写题解 1484: 蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:注意事项:参考代码:from math import sqrta,b,c=map(float,input().split())A=sqrt(b**2-4*a*c)n=(-b+A)/(2*a)…… 题解列表 2022年03月29日 0 点赞 0 评论 214 浏览 评分:9.9
又被坑了蓝桥杯算法提高VIP-Quadratic Equation-题解 摘要:解题思路:读取输入,然后解方程,最后比较两个根,我就忘记比较了注意事项:本次发i心安了一个问题,就是这个? :运算符,后边的语句要带括号x1 > x2 ? :temp = x1, x1 = x2, …… 题解列表 2024年06月20日 0 点赞 0 评论 141 浏览 评分:9.9
蓝桥杯算法提高VIP-Quadratic =-题解(C语言代码)满分极简代码!! 摘要: #include #include int main(){ double a,b,c; scanf("%lf %lf %lf",&a,&…… 题解列表 2019年12月04日 0 点赞 5 评论 631 浏览 评分:9.6
WU-蓝桥杯算法提高VIP-Quadratic Equation (C++代码) 摘要:求根公式 注意把大的根放在前面 小的根放在后面 很多人没注意#include<iostream> #include<cmath> #include<iomanip> using n…… 题解列表 2017年12月22日 8 点赞 2 评论 1974 浏览 评分:8.5
Quadratic Equation (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main(){ double a,b,c; scanf("%lf %lf %lf…… 题解列表 2017年10月22日 1 点赞 3 评论 1102 浏览 评分:8.0
1484: 蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2021年11月20日 0 点赞 0 评论 148 浏览 评分:0.0
蓝桥杯算法提高VIP-Quadratic Equation (C++代码) 摘要:#include<iostream> #include<math.h> #include<iomanip> using namespace std; int main(){ doub…… 题解列表 2017年12月17日 0 点赞 0 评论 772 浏览 评分:0.0
蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:double sqrt(double x)float sqrtf(float x)long double sqrtl(long double x)注意事项:参考代码:#include<std…… 题解列表 2023年10月26日 0 点赞 0 评论 97 浏览 评分:0.0