Quadrilateral
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
The arbitrary quadrilateral is given on a plane with coordinates of its successive vertices. Find the number of right angles in quadrilateral.
Input
Consists of coordinates of successive vertices in quadrelateral with integer values not greater than 100 by absolute value.
Output
Print the number of right angles in quadrilateral.
Examples
Input #1
Answer #1
Submissions 9K
Acceptance rate 38%