shithub: puzzles

Download patch

ref: 5cc9bfb811854b66c4a570e8100b8a1aad037f0e
parent: ed75535fc24217c51f900d42385309c8c8b36cc3
author: Ben Harris <bjh21@bjh21.me.uk>
date: Mon Jan 9 19:20:36 EST 2023

Last-ditch maximum size limit for Mines

This makes sure that width * height <= INT_MAX, which it rather needs
to be.  Also a similar check in decode_params when defaulting the
number of mines.