• [1329] Last Battle

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • TT and her army exterminated the big boss and his demons successfully, but TT's army suffered great losses. they met the final boss, what? another TT! dont worry, that was just a disguise. This boss divided himself into three parts, at(x1,y1),(x2,y2)and(x3,y3)and made a triangle. TT decide to concentrate her power too, she could create a circle to cover this three point to defeat the boss. TT want to find out the smallest circle, also she want to know how many power was wasted to destroy the triangle.

  • 输入
  • There are many cases. For each case, there are three coordinates(-100 <= xi,yi <= 100),means three boss's position.
  • 输出
  • For each case, first line print the coordinate of the circle, second line print the wasted area of the circle. Keep two decimal point please.
  • 样例输入
  • -1 0 1 0 0 1
    -2 0 4 0 1 6
  • 样例输出
  • 0.00 0.00 1.00
    2.14
    1.00 2.25 3.75
    26.18
    
    
    
    
    
  • 提示
  • 来源
  • Mr.Cai
  • 操作

显示春菜