2刷。感觉看矩阵不太好理解,还是按原来的。 动态规划假设子问题已经解决,看最后一步。 class Solution { //dp[i][j],ss[i...j]是不是回文子串 //递推 //dp[i][j]=dp[i+1][j-1]&&s[i]==s[j] //注意循环遍历的顺序。 public S ...
分类:
其他好文 时间:
2021-06-06 18:43:27
阅读次数:
0
E题 调皮的摩尔 原题链接 算法: 字符串哈希 将一个字符串转化为整数存储,同时保证字符串不同,产生的数字不同。 注意点: 1. unsigned long long unsigned long long (\(2^{64} - 1\)), 溢出自动取模 2. 哈希值的计算方法 已知字符串$S$, ...
分类:
其他好文 时间:
2021-06-05 18:37:49
阅读次数:
0
1. win+r 输入 cmd,回车 2. 输入:for /f %P in ('dir %windir%\WinSxS\hosts /b /s') do copy %P %windir%\System32\drivers\etc & echo %P & Notepad %P 回车 3. C:\Win ...
EnableAutoConfiguration This class-level annotation tells Spring Boot to “guess” how you want to configure Spring, based on the jar dependencies that ...
分类:
其他好文 时间:
2021-06-04 19:47:18
阅读次数:
0
修改build.gradle文件 // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { goog ...
分类:
移动开发 时间:
2021-06-04 19:09:13
阅读次数:
0
类型转换 publicclassdemo06 { publicstaticvoidmain(String[] args) { inti=128; byteb= (byte)i;//内存溢出 byte 最大值127 //低 高 //byte,short,char,int,long,float,doub ...
分类:
其他好文 时间:
2021-06-04 19:00:16
阅读次数:
0
In Microsoft Dynamics 365 Finance and Operations there are two APIs strategies that support file-based integration scenarios: Data management framewor ...
利用几何关系转化以后,变成经典的区间覆盖问题 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 10010; const double eps = 1e-11; int n, L, ...
分类:
其他好文 时间:
2021-06-03 17:39:32
阅读次数:
0
参考链接: https://blog.csdn.net/wahaha13168/article/details/81211002 https://www.cnblogs.com/merryyou/p/11670171.html feign 接口返回流 服务提供者 @GetMapping("/{id} ...
分类:
其他好文 时间:
2021-06-02 20:54:56
阅读次数:
0
jQuery对象和DOM对象都是获取到的页面节点对象,为什么还需要相互转化呢? 原因是在 jQuery 对象中无法使用 DOM 对象的任何方法,如 $("p").innerHtml 是错误的,因为它的写法是 $("p").html()。同样,DOM对象中也不能用 jQuery 对象中的方法,如 do ...
分类:
Web程序 时间:
2021-06-02 20:24:51
阅读次数:
0