摘要:
link 1.dfs+memo: class Solution { public: int n; int maxJumps(vector<int>& arr, int d) { n=arr.size(); vector<int> memo(n,-1); int res=0; for(int i=0; 阅读全文
posted @ 2020-04-27 16:48
feibilun
阅读(124)
评论(0)
推荐(0)
摘要:
link 1. Fenwick Tree: #include <iostream> #include <vector> #include <algorithm> #include <unordered_set> #include <cstring> #include <queue> #include 阅读全文
posted @ 2020-04-27 11:32
feibilun
阅读(103)
评论(0)
推荐(0)

浙公网安备 33010602011771号