vijos 1116
来源:互联网 发布:ccer金融数据库 编辑:程序博客网 时间:2024/06/18 17:23
#include"iostream"#include"cstdio"using namespace std;const double eps=1e-3;int main(){ double a,b,c,d; cin>>a>>b>>c>>d; double i; for(i=-100;i<=100;i+=0.001) if(a*i*i*i+b*i*i+c*i+d<=0.001&&a*i*i*i+b*i*i+c*i+d>=-0.001) printf("%.2f ",i); return 0;}暴力枚举。
0 0
- vijos 1116
- 【vijos 1116】【codevs 1038】一元三次方程求解
- vijos 1070
- vijos 1020
- VIJOS 1180
- VIJOS-P1130
- vijos-1788
- vijos-1385
- VIJOS-P1312
- Vijos 1059
- Vijos 1061
- vijos P1071
- VIJOS-P1033
- vijos 中青局
- vijos P1131
- vijos P1132
- vijos p1233
- vijos p1233
- vector 容器
- 在读研中的一些困惑,怎样才能写出好的论文。
- 使用 Docker 安装Node-Red Container开发App 藉由IBM Weather Company Data 服务取得世界各地气象资料
- 半年了。
- Get all the coordinates of listed banks from Google Maps with Python 3
- vijos 1116
- Word Ladder
- The Skyline Problem
- Product of Array Except Self
- Minimum Size Subarray Sum
- 100多个优秀的互联网编程学习平台整理。
- UIButton无法响应点击事件
- Find the Celebrity
- Meeting Rooms II