Jasper Yu says to YSITD
我只知道我用到了Gauss-Jordan elimination