Minesweeper has a wierd name don’t you think you don’t actually sweep any mines in it so I decided to make it better.
nc chals.bitskrieg.in 7006
dipper
A board yields a system of linear equations in variables. Each variable represents the number of mines at row , column . Each equation sets a constraint on how many mines can be at a location’s neighbors based on the number in its tile. For example, if there are mines adjacent to a non-edge tile at row , column , the correpsonding equation is .
Normally, such systems are solved using Gaussian elimination in . Luckily, our system of equations is very sparse, so scipy.sparse
can solve the system more quickly.
Flag: BITSCTF{D0_u_y34rn_f0R_th3_m1n3s?}
The final solve script can be found here.