SP3983 RIGHTTRI - Right Triangle Counting

Description

[English](/problems/RIGHTTRI/en/) [Vietnamese](/problems/RIGHTTRI/vn/)N points are placed in the coordinate plane. Write a program which calculates in how many ways a right triangle can be formed by three of the given points. A right triangle is one in which one of the angles is 90 degrees. `
`Input
=====

 `
`The first line of input contains an integer N (3 
                            

Input Format

N/A

Output Format

N/A