摘要: #include <stdio.h> int main(void) { int a, b, c; int max, mid, min; scanf("%d%d%d", &a, &b, &c); if (a > b) { if (a > c) { max = a; if (b > c) { mid = 阅读全文
posted @ 2020-06-03 18:33 jason2018 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 这个题目的纯虚根问题搞的头大,其实没意思。 #include <stdio.h> #include <math.h> int main(void) { double a, b, c; scanf("%lf%lf%lf", &a, &b, &c); double delta = b * b - 4 * 阅读全文
posted @ 2020-06-03 15:28 jason2018 阅读(253) 评论(0) 推荐(0) 编辑