夏夜、

心若平似镜、何题不AC。

12 2013 档案

hdu 1180 诡异的楼梯 BFS + 优先队列
摘要://#pragma comment(linker, "/STACK:1024000000,1024000000")#include#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;typedef long long ll;typedef unsigned long long ull;typedef pair pii;#define pb(a) push(a)#define INF 阅读全文

posted @ 2013-12-15 12:51 BMan、 阅读(182) 评论(0) 推荐(0)

UVALive 3907 Puzzle AC自动机+DP
摘要:10天前交的题,当时OJ挂了,现在才想起去看结果。如果在状态上深搜的过程中出现了环,说明可以无限长。//#pragma comment(linker, "/STACK:1024000000,1024000000")#include#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;typedef long long ll;typedef unsigned long long ull 阅读全文

posted @ 2013-12-02 13:21 BMan、 阅读(237) 评论(0) 推荐(0)

导航