#include <iostream>
int main()
{
double a = 1.0;
double b = 3.0;
double c = 3.0;
// real part
double xr = -b / (2 * a);
// for imaginary part:
double radicand = 4 * a * c - b * b;
double denom = 2 * a;
std::cout << xr << " + √(" << radicand << ")/" << denom << "\n";
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKQp7CiAgICBkb3VibGUgYSA9IDEuMDsKICAgIGRvdWJsZSBiID0gMy4wOwogICAgZG91YmxlIGMgPSAzLjA7CgogICAgLy8gcmVhbCBwYXJ0CiAgICBkb3VibGUgeHIgPSAtYiAvICgyICogYSk7CgogICAgLy8gZm9yIGltYWdpbmFyeSBwYXJ0OgogICAgZG91YmxlIHJhZGljYW5kID0gNCAqIGEgKiBjIC0gYiAqIGI7CiAgICBkb3VibGUgZGVub20gPSAyICogYTsKCiAgICBzdGQ6OmNvdXQgPDwgeHIgPDwgIiArIOKImigiIDw8IHJhZGljYW5kIDw8ICIpLyIgPDwgZGVub20gPDwgIlxuIjsKfQ==