跳到正文

题解

xxxx

baijingjun约 1 分钟
原文
文章信息与版本

文章信息

收录
2025年12月12日
更新
2025年12月12日
篇幅
约 1 分钟

版本

  1. v2当前
  2. v1

#include<iostream> #include<iomanip> #include<cmath> using namespace std; int main(){ ios::sync_with_stdio(false); double a,b,c,d; cin>>a>>b>>c>>d; for(double i=-100;i<=100;i+=0.001){ if(fabs(iiia+iib+ic+d)<0.0001) cout<<fixed<<setprecision(2)<<i<<” ”; } return 0; }

原文