• + 1 comment

    This problem is interesting, but it can be solved by brute force. I think it would be even more interesting - and difficult - to have an equivalent problem not solvable by brute force.