#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 = 2*c / (-b + sqrt(D)); long double x2 = 2*c / (-b - sqrt(D)); if (D == 0) { cout << 1 << endl; cout << x1 << endl; } else { cout << 2 << endl; cout << x1 << endl; cout << x2 << endl; } return 0; }