SP8558 LINQSOLV - Linear Equation Solver
Description
Given a system of linear equations, print the solution of that system.
Input Format
Input starts with a positive integer t
Output Format
For each testcase print all variables of the linear system in alphabetical order together with the associated value as an integer or a fraction in lowest terms respectively. Print a blank line between testcases. For exact notation see example below. All (interim) results will fit into 64-bit, if algorithm is implemented properly. You can assume that all linear systems have an unique solution.