摘要: #include #include #include #include #include #include #include #include #include #include #include #include using namespace std;const int INF = 0xffff... 阅读全文
posted @ 2015-02-17 22:12 寒饼干 阅读(174) 评论(0) 推荐(0) 编辑
摘要: uva1343原作者题目题意是:给你的棋盘,在A-H方向上可以拨动,问你最少拨动几次可以是中心图案的数字一致解题思路:回溯法,剪枝其中要把每次拨动的字母所代表的位置提前用数组表示;然后在如果step+h()>maxd表示剪枝。总之,用数组那里表示真的好棒,自己太残了……!!!#include #in... 阅读全文
posted @ 2015-02-17 15:40 寒饼干 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 非原创!!!原作者地址:http://www.hardbird.net/?p=238 阅读全文
posted @ 2015-02-17 12:40 寒饼干 阅读(99) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-02-17 11:51 寒饼干 阅读(0) 评论(0) 推荐(0) 编辑