状压dp
文章平均质量分 86
saragrean
这个作者很懒,什么都没留下…
展开
-
hdu 4284Travel(状压dp 或 floyd+dfs)
题目链接:【hdu 4284】 一、floyd+dfs #include #include #include #include #include using namespace std; #define inf 0x3f3f3f3f struct T { int id, ci, di; }p[110]; int f[110][110], vis[110], h; bool dfs(原创 2015-12-11 20:32:22 · 372 阅读 · 0 评论 -
状压dp
codeforces 580D Kefa and Dishes (Codeforces Round #321 (Div. 2)) 题解原创 2015-10-10 19:48:04 · 287 阅读 · 0 评论