Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|

Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |

Language: A rectangle
Description There are four active children, whose names are Her-ri, Sumyou, Dashom, and Hooyeon, respectively. They play with Input The first line of input will be a positive integer, y (−1,000,000,000 ≤ _{i}x, _{i}y, ≤ 1,000,000,000), which represent the _{i}i-th point.Output Output should contain the number of ways children can make a rectangle. If there's no way, just output 0. Sample Input 6 2 3 0 0 2 0 2 3 0 3 4 0 4 3 Sample Output 2 Source |

[Submit] [Go Back] [Status] [Discuss]

All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di

Any problem, Please Contact Administrator