微风花落

Results 9 comments of 微风花落

由于X和j一开始相差了1,所以X和j一定不会相遇(最接近的情况是一直有连续重复的字符,比如'aaaaa',此时X和j始终相距1),而X的状态推进逻辑是,当dp[X][pat.charAt(j)] = X+1时,X才会推进(即X=dp[X][pat.charAt(j)]=X+1),而根据之前的dp定义,只有dp[X][pat.charAt(X)] 时才等于 X+1,可以得到pat.charAt(j) === pat.charAt(X),即只有X位置的字符和j位置的字符相同时,X和j才会同时推进,此时如果同时开始推进,就代表【k~X】的字符=【l~j】的字符(k和l代表第一次匹配相同的位置,值不重要),而c !== pat.charAt(X), 也有【k~X-1】的字符=【l~j-1】的字符,此时dp[j][c]就应该回退到X的位置,看dp[X][c]的选择

有可能是依赖的那个网站服务器崩了,或者本地网络连接有问题

如果一直无法使用网站,就用导入本地字典使用

> 我运行了 运行 然后就出现这个,什么原因 用命令行安装,输入pip install lxml,是我疏忽了,简介里忘记写上这个库了

> [@turnflowerdown](https://github.com/turnflowerdown) I have the same issue; the revalidateOnMount does not work with 我也有同样的问题;revalidateOnMount不起作用`revalidateFirstPage: false` Do you have any ways to resolve it?你有什么办法解决这个问题吗? @st-canpham you can try ```typescript const {isValidating,...

![image](https://github.com/user-attachments/assets/c85bd998-c8f8-40e3-a268-8fc1fef14f43)

you can use nodeRef prop ![image](https://github.com/reactjs/react-transition-group/assets/47298667/fe00fa9f-7fad-40cc-ba4d-87c599e94a0a)