#include using namespace std; const int BUFFER_SIZE = 100; int main() { double a, b, c,d; double x1, x2; cin>>a>>b>>c; d = b * b - 4 * a * c; if(d >=0){ /* 判別式が正のとき、解を計算 */ x1 = (fabs(b) + sqrt(d)) / (2.0 * a); /* 修正箇所 */ if ( b >= 0.0 ) { x1 = -x1; } x2 = c / (a * x1); if(d==0) cout<