Equation of the line II
Very easy
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 points on the line and the coordinates of the normal to this line. All coordinates 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 49%