摘要: #include <iostream> #include <vector> using namespace std; bool canWin(int n) { vector<bool>dp(max(n+1,4)); dp[3] = dp[1] = dp[2] = true; for(int i = 阅读全文
posted @ 2022-05-01 21:39 fourmii 阅读(34) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <stack> using namespace std; int uniquePaths(int m, int n) { vector<vector<int>>dp(m,vector<int>(n)); f 阅读全文
posted @ 2022-05-01 11:25 fourmii 阅读(30) 评论(0) 推荐(0) 编辑