1 2 3 4 5 6 7 8 9 10 11
#include <iostream> int main() { int a = 1; int b = -2; int c = 1; std::cout<< (-b + sqrt(b^2 - 4*a*c))/(2*a); return 0; }
1