Local minimum in a grid

Sign in to test your solution.