HDU1584 蜘蛛牌 DFS\区间DP

HDU1584蜘蛛牌php /*DFS map[2][10]记录牌头牌尾 624MS 1516K */ #include <stdio.h> #include <string.h> const int MAX=15; const int INF=0x3f3f3f3f;//无限大 int map[2][MAX];//记录牌头和牌尾 bool vis[MAX]; int Min;//记录最小值 voi
相关文章
相关标签/搜索