#include using namespace std; #define rep(i,n) for(int i = 0; i < (n);i++) #define sz(x) int(x.size()) typedef long long ll; typedef pair P; int main(){ std::cout<> a >> b >> c; long double D = b * b - 4 * a * c; if (D < 0) { cout << 0 << endl; return 0; } long double x1 = (-b - (b < 0 ? -1 : 1) * sqrt(D)) / 2 * a; long double x2 = c / (a * x1); if (D == 0) { cout << 1 << endl; cout << (-b + sqrt(D)) / (2 * a) << endl; } else { cout << 2 << endl; if (x1 > x2) swap(x1, x2); cout << x1 << endl; cout << x2 << endl; } return 0; }