Equation of the line I
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Find the coefficients of the general equation line.
Input
Four numbers - the coordinates of two different points on the line. All input data are integers not exceeding modulo 10000.
Output
Three integers - the coefficients A, B and C, the normal equation of this line.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 59%