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
相關文章
相關標籤/搜索