#include using namespace std; using ll = int64_t; int main() { ll a,b,c; cin>>a>>b>>c; if (a==0) { if (b==0) { cout<<(c==0?-1:0)< res; res.push_back(0); res.push_back(double(-b) / a); sort(begin(res), end(res)); for(auto&& v:res) { cout < res; long double ldd = d; if (b < 0) { res.push_back(c2 / (-b + sqrt(ldd))); res.push_back((-b + sqrt(ldd)) / a2); } else { res.push_back(c2 / (-b - sqrt(ldd))); res.push_back((-b - sqrt(ldd)) / a2); } sort(begin(res), end(res)); for(auto&& v:res) { cout <