1026 : Perimeter of Rectangles
时间限制Time Limit
1
秒Sec
内存限制Memory Limit
128
兆MB
提交次数Submitted
33
次Times
通过次数Solved
14
次Times
标准评测Standard Judge
题目描述Description
Given three points of a rectangle, calculate the perimeter of it.
输入格式Input
There are multiple test cases.
In each case, three integer coordinates are given to describe the rectangle, i.e. (x1, y1), (x2, y2), (x3, y3).
0 <= x1, y1, x2, y2, x3, y3 <= 10000.
输出格式Output
Output the perimeter of the rectangle corresponding to each test case.
The result should be accurated to three decimal places.
样例Sample
出题Author
CSGrandeur