1112我是服了,如果没有记得方程的简便解法,怎么写? 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x1,x2,a,b,c,d,t; scanf("%lf…… 题解列表 2021年11月07日 0 点赞 0 评论 229 浏览 评分:0.0
1112-一元二次方程 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath> using namespace std;int main(){ int a,b,c; cin >>a …… 题解列表 2022年10月06日 0 点赞 0 评论 140 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split())deta = (b**2 - 4*a*c)**(1/2)x1 = (-b + deta)/(2*a)x2 …… 题解列表 2022年06月01日 0 点赞 0 评论 149 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,c,x1,x2; scanf("%lf %lf %lf",…… 题解列表 2022年03月09日 0 点赞 0 评论 290 浏览 评分:0.0
C语言考试练习题_一元二次方程 摘要:```cpp #include using namespace std; int main() { double a,b,c,s,x1,x2; cin>>a>>b>>…… 题解列表 2022年03月05日 0 点赞 0 评论 137 浏览 评分:0.0
题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:1.需要引用<math.h>库2.输出的两个值都是小数,要用double参考代码:#include<stdio.h> #include<math.h> int main() …… 题解列表 2022年02月23日 0 点赞 0 评论 402 浏览 评分:0.0
Hifipsysta-1112-C语言考试练习题_一元二次方程(C++代码)求根公式法 摘要: ```cpp #include #include using namespace std; int main(){ double a,b,c,result; cin…… 题解列表 2022年02月04日 0 点赞 0 评论 229 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程 摘要:#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c; cin >> a >> b…… 题解列表 2021年12月17日 0 点赞 0 评论 321 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:import matha,b,c=map(float,input().split())x = -math.sqrt(-c+(b/2*a)**2)-b/2*ay = mat…… 题解列表 2021年12月10日 0 点赞 0 评论 270 浏览 评分:0.0
1112很狠狠太狠了 摘要:解题思路:注意事项:注意输出两个值如果x1等x2参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,p,q;…… 题解列表 2021年11月09日 0 点赞 0 评论 418 浏览 评分:0.0