摘要: 题意 m* n的单词序列, 查找其中是否有某单词 方法 DFS + 回溯 代码 const static int N = 100,M = 100,K = 100; int dir[2][4] = {{1,0,0,-1},{0,1,-1,0}}; bool dp[4][N][M][K];/* dir 阅读全文
posted @ 2022-07-25 22:12 Figure_at_a_Window 阅读(23) 评论(0) 推荐(0)