POJ1008(滑雪)dfs經典中的經典

dfs基礎+dp基礎 加上一點點記憶化搜索 #include <iostream> #include <stdio.h> #include <algorithm> #include <string.h> using namespace std; int mat[105][105]; int dp[105][105]; int vis[105][105]; int n,m; bool ok(int
相關文章
相關標籤/搜索