T1028 一元二次--7行解决,简洁明了 摘要:解题思路:注意事项:# 我也是在前几个前辈的代码下,总结简化的,不要恶意对比参考代码:a,b,c=map(int,input().split())t=b**2-4*a*cx1 = -b / (2 * …… 题解列表 2025年05月05日 2 点赞 1 评论 635 浏览 评分:0.0
菜鸟记录11111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,t;&nb…… 题解列表 2025年05月08日 0 点赞 1 评论 644 浏览 评分:0.0
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>float x1, x2;void dayu0(float a, float…… 题解列表 2025年09月19日 0 点赞 0 评论 655 浏览 评分:0.0
T1028-自定义函数求一元二次方程--步骤清晰 摘要:解题思路:注意事项:参考代码:importmatha,b,c=map(float,input().split())d&n…… 题解列表 2025年11月04日 0 点赞 0 评论 396 浏览 评分:0.0
c语言,绝对值,分段函数求值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,m,n; sca…… 题解列表 2025年12月20日 0 点赞 0 评论 327 浏览 评分:0.0
C语言+自定义函数求解一元二次方程 摘要:解题思路:注意事项:1. 一元二次方程一般形式:ax² + bx + c = 0(a不能等于0)2. 关键判别式:Δ = b² - 4ac(根的类型由它决定)&nb…… 题解列表 2025年12月22日 0 点赞 0 评论 590 浏览 评分:0.0
Python解决题目 摘要:解题思路:judge判断det正负值,f负责分类计算和输出注意事项:det是负数时,注意输出参考代码:def f(a,b,c): judge=b**2-4*a*c…… 题解列表 2026年04月23日 0 点赞 0 评论 76 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (Java代码) 摘要:import java.util.Scanner;import java.text.DecimalFormat;public class Main { static DecimalFor…… 题解列表 2017年07月06日 0 点赞 0 评论 1863 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路: 一元二次方程 ax²+bx+c=0 (a≠0) 其求根依据判定式△的取值为三种 ( 题解列表 2018年06月04日 4 点赞 4 评论 793 浏览 评分:2.0
维基百科之一元二次方程 (C语言代码) 摘要:本文引自以下文章:解一元二次方程解题思路:详细解释:谷歌维基百科注意事项:见链接:求解一元二次方程参考代码:#include <stdio.h> #include <math.h> int mai…… 题解列表 2019年01月06日 1 点赞 0 评论 1560 浏览 评分:2.0