Problem B
Partial Linear Equation Solver
Input
There are several test cases. Each test case begins with a
line containing an integer
Then follow
The input is ended with a case where
Output
For each operation in each test case, output the vector
Sample Input 1 | Sample Output 1 |
---|---|
2 1 1 0 1 23 42 1 5 1 3 1 -2 0 2 -4 0 1 -2 1 3 6 4 3 1 1 0 3 3 0 0 1 2 1 4 8 0 |
-19 42 0.20 ? ? 1.00 inconsistent |