Generals 1998 7
From PlasmaWiki
[edit] Computational Quickie
We can solve working backwards from the bottom. The last row of the matrix only multiplies one element:
This can be inverted by division:
The next line up only involves this and one other element:
Solving for xn − 1, the only unknown:

We can see that this process can be repeated for every element:

So using this and xn = yn / ann, we have a solution for all
x. This requires N divisions, N − 1 multiplications, and N − 1
subtractions, for a total of 3N − 2 operations.

