Problem C
Equations
Given
Input
The first line of input contains an integer
An equation consists of at least
Output
For each case, print two lines, giving the values of
Sample Input 1 | Sample Output 1 |
---|---|
7 2x + 3y = x 5 = x + y + 3 2x + 3y = 0 10x = -15y 2x + 3y = 0 10x = -15y + 1 x = 1 3x = 6y 2x = 3x + -x + y x + y = x + y 2x = -3 -2y = 3 1 = 2 x = 3 |
3 -1 don't know don't know don't know don't know 1 1/2 don't know 0 -3/2 -3/2 don't know don't know |