05 2013 档案

这道八数码老过不了 judge终于肯给我TLE了。。。还是不能AC啊
摘要:题目链接:【eight puzzle】http://acm.uestc.edu.cn/problem.php?pid=1490&cid=213我的解题想法:双向BFS+暴力判重(表示不怎么会自己搞hash的孩纸伤不起)#include<cstdio>#include<string>using namespace std;long int head[2],tail[2];string que[2][100000];long int answer[2][200000];string inst,stand;int judge,i,j;char d;bool flag; 阅读全文

posted @ 2013-05-25 08:09 BWB 阅读(176) 评论(0) 推荐(0)

啊哈高兴
摘要:渐渐地能在和自己的安排冲突下优先考虑别人急需的帮助了~成熟男人的标志 阅读全文

posted @ 2013-05-20 13:22 BWB 阅读(100) 评论(0) 推荐(0)

导航