T1028-自定义函数求一元二次方程--步骤清晰 摘要:解题思路:注意事项:参考代码:importmatha,b,c=map(float,input().split())d&n…… 题解列表 2025年11月04日 0 点赞 0 评论 60 浏览 评分:0.0
1028:自定义函数求一元二次方程的解 摘要:解题思路:注意事项:参考代码:#include<math.h>#include<stdio.h>float x1,x2;int main(){ voi…… 题解列表 2025年10月23日 0 点赞 0 评论 167 浏览 评分:0.0
自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>float x1, x2;void dayu0(float a, float…… 题解列表 2025年09月19日 0 点赞 0 评论 457 浏览 评分:0.0
菜鸟记录11111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,t;&nb…… 题解列表 2025年05月08日 0 点赞 1 评论 491 浏览 评分:0.0
T1028 一元二次--7行解决,简洁明了 摘要:解题思路:注意事项:# 我也是在前几个前辈的代码下,总结简化的,不要恶意对比参考代码:a,b,c=map(int,input().split())t=b**2-4*a*cx1 = -b / (2 * …… 题解列表 2025年05月05日 1 点赞 1 评论 433 浏览 评分:0.0
解方程-------------------------------------------------------------------------------- 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <cmath>using namespace std;int main(){ &…… 题解列表 2025年03月17日 2 点赞 0 评论 610 浏览 评分:10.0
1028: [编程入门]自定义函数求一元二次方程 摘要:```c#include #include int main() { double a,b,c; scanf("%lf%lf%lf",&a,&b,&c); doubl…… 题解列表 2025年03月11日 0 点赞 0 评论 978 浏览 评分:0.0
Python方法求根 摘要:参考代码:from math import * a,b,c=map(int,input().split()) m=b**2-4*a*c if m>=0: n=sqrt(m) …… 题解列表 2024年12月26日 1 点赞 0 评论 612 浏览 评分:0.0
自定义函数求一元二次方程 摘要:#include<bits/stdc++.h> using namespace std; int main() { double a,b,c,x1,x2;cin>>a>>b>>c; …… 题解列表 2024年11月23日 2 点赞 0 评论 1308 浏览 评分:10.0
初学者的写法 摘要:解题思路: 无脑if else注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c,d; …… 题解列表 2024年11月15日 1 点赞 0 评论 1150 浏览 评分:9.9