摘要: Problem DescriptionThe 15-puzzle has been around for over 100 years; even if you don't know it by that name, you've seen it. It is constructed with 15 sliding tiles, each with a number from 1 to 15 on it, and all packed into a 4 by 4 frame with one tile missing. Let's call the missing ti 阅读全文
posted @ 2013-11-10 13:33 persistent codeants 阅读(231) 评论(0) 推荐(0)
摘要: Problem DescriptionYou're given an unlimited number of pebbles to distribute across an N x N game board (N drawn from [3, 15]), where each square on the board contains some positive point value between 10 and 99, inclusive. A 6 x 6 board might look like this:The player distributes pebbles across 阅读全文
posted @ 2013-11-10 09:15 persistent codeants 阅读(204) 评论(0) 推荐(0)