java -jar gauss.jar "[[0, 0, 0, 0, 3, 3, 1, 1],[3, 0, 1, 0, 0, 0, 0, 0],[0, 3, 0, 1, 3, 0, 1, 0],[0, 1, 0, 4, 3, 1, 2, 0],[0, 3, 3, 3, 1, 1, 1, 0],[0, 3, 0, 1, 0, 0, 0, 0]]" 5
Output
[[3, 0, 0, 0, 0, 0, 4, 0],
[0, 3, 0, 0, 0, 0, 2, 1],
[0, 0, 3, 0, 0, 0, 3, 0],
[0, 0, 0, 2, 0, 0, 1, 3],
[0, 0, 0, 0, 3, 0, 1, 0],
[0, 0, 0, 0, 0, 3, 0, 1]]
IN
0 0 0 0 3 3 1 1
3 0 1 0 0 0 0 0
0 3 0 1 3 0 1 0
0 1 0 4 3 1 2 0
0 3 3 3 1 1 1 0
0 3 0 1 0 0 0 0
OUT
3 0 0 0 0 0 4 0
0 3 0 0 0 0 2 1
0 0 3 0 0 0 3 0
0 0 0 2 0 0 1 3
0 0 0 0 3 0 1 0
0 0 0 0 0 3 0 1