inverse matrix by murky-satyr

for(m=[y=-1];++y<9;)for(r=m[y]=readline(n=-1).split(' ');++n<18;y-4?0:m[2][n]+=v)v=r[n]|=n==9+y
for([y,t]in m){for(x=n;x--;)t[x]/=t[y]
for([i,r]in m)for(k=n;y-i&&k--;)r[k]-=r[y]*t[k]}for([,r]in m)print.apply(0,[0|v-v/16e5-.5+(v>0)for([i,v]in r)if(i>8)])

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top