摘要:
#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 = 阅读全文
摘要:
#include <iostream> #include <vector> #include <stack> using namespace std; int uniquePaths(int m, int n) { vector<vector<int>>dp(m,vector<int>(n)); f 阅读全文