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
相关文章
相关标签/搜索