缩进改用空格;修复错误

This commit is contained in:
zhbaor 2020-11-07 12:07:02 +08:00
parent 8051c780e3
commit 502434e49a

View file

@ -156,9 +156,6 @@ int main()
double fa = 2 * pow(a, 3) - 4 * pow(a, 2) + 3 * a - 6; double fa = 2 * pow(a, 3) - 4 * pow(a, 2) + 3 * a - 6;
double fc = 2 * pow(c, 3) - 4 * pow(c, 2) + 3 * c - 6; double fc = 2 * pow(c, 3) - 4 * pow(c, 2) + 3 * c - 6;
while (fabs(2 * pow(c, 3) - 4 * pow(c, 2) + 3 * c - 6) >= t) { while (fabs(2 * pow(c, 3) - 4 * pow(c, 2) + 3 * c - 6) >= t) {
if (fabs(fc) < t) {
break;
}
if (fa * fc < 0) { if (fa * fc < 0) {
b = c; b = c;
} else { } else {