hanshu.cpp 258 B

1234567891011121314
  1. //我是个傻逼
  2. #include <iostream>
  3. //我是个傻逼
  4. #include <math.h>
  5. using namespace std;
  6. int main (){
  7. double a,b,c,x,y;
  8. cin>>a>>b>>c;
  9. x=-b/(a*2);
  10. y=((4*a*c)-b*b)/(4*a);
  11. cout<<"("<<x<<","<<y<<")";
  12. system("pause");
  13. return 0;
  14. }