rqnoj-479
来源:互联网 发布:二次安防用哪个网络 编辑:程序博客网 时间:2024/05/29 15:13
#include<stdio.h>double a,b,c,d;double f(double x){ return (a*x*x*x+b*x*x+c*x+d);}int main(){ double x,x1,x2; int i,s; scanf("%lf%lf%lf%lf",&a,&b,&c,&d); x=-100; x1=f(x); x2=f(x+0.01); s=0; while(s<3) { if(x1*x2<=0) { printf("%.2lf ",x+0.01); s++; } x=x+0.01; x1=x2; x2=f(x+0.01); } return 0;}
- rqnoj-479
- rqnoj-332 & rqnoj-53
- RQNOJ 164
- RQNOJ 311
- RQNOJ 34
- 决斗 RQNOJ
- rqnoj-153
- rqnoj-394
- rqnoj-3
- rqnoj-12
- rqnoj-93
- rqnoj-4
- rqnoj-1
- rqnoj-2
- rqnoj-20
- rqnoj-15
- rqnoj-16
- rqnoj-69
- IOS6之AutoLayout(一)
- GO 语言学习
- java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory的解决
- 程序员_Java基础之<十二>-IO流<3>其他流对象、编码
- Z26上的维吉尼亚密码体制
- rqnoj-479
- MFC TCHAR 和CHAR相互转换
- Asp.net Ajax简介
- Guid.NewGuid().ToString()得几种格式显示
- 【14】Use a single array to implement three stacks
- JQuery-Validation插件,中文错误提示乱码的解决
- windows内存映射文件
- 【C语言】补码
- 水果与炸弹