会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lwx_R
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
25
26
27
28
29
30
31
32
33
···
46
下一页
2022年9月24日
SpringBoot配置
摘要: 1.创建普通web项目 2.在pom.xml里添加依赖 父依赖版本低 rest风格的GetMapper注解没有 <!-- Spring Boot 启动父依赖 --> <parent> <groupId>org.springframework.boot</groupId> <artifactId>sp
阅读全文
posted @ 2022-09-24 19:02 lwx_R
阅读(38)
评论(0)
推荐(0)
2022年9月21日
LC1143 最长公共子序列
摘要: int longestCommonSubsequence(string text1, string text2) { //dp[i][j]记录text1前i序列和text2前j序列的最长公共序列 int dp[1005][1005]; memset(dp,0,sizeof(dp)); for(int
阅读全文
posted @ 2022-09-21 13:51 lwx_R
阅读(20)
评论(0)
推荐(0)
LC300 LCS
摘要: int lengthOfLIS(vector<int>& nums) { int len=nums.size(); int dp[len]; int list[len];//记录序列下标 vector<int> v; for(int i=0;i<len;i++){ dp[i]=1; list[i]=
阅读全文
posted @ 2022-09-21 13:25 lwx_R
阅读(50)
评论(0)
推荐(0)
2022年9月19日
maven项目下tomcat使用
摘要: 1.添加插件 <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.2</version> <configuration> <port>
阅读全文
posted @ 2022-09-19 19:07 lwx_R
阅读(88)
评论(0)
推荐(0)
maven打包
摘要: 1.编译方式选package 2.在文件夹的target目录下有war包
阅读全文
posted @ 2022-09-19 19:00 lwx_R
阅读(37)
评论(0)
推荐(0)
利用flex实现多行多列
摘要: 1.父容器设置为flex布局,并允许折行 .flex-outer { display: flex; flex-wrap: wrap; } 2.通过修改子容器百分比实现 是n列就把百分比变为100/n(%)
阅读全文
posted @ 2022-09-19 15:37 lwx_R
阅读(204)
评论(0)
推荐(0)
一个div靠左另一个靠右
摘要: 1.使用flex布局 <style> #back{ border: red solid 1px; width: 800px; height: 500px; display: flex; align-items: center; } #left{ border: blue 1px solid; wid
阅读全文
posted @ 2022-09-19 12:24 lwx_R
阅读(534)
评论(0)
推荐(0)
display:flex布局
摘要: https://www.cnblogs.com/hellocd/p/10443237.html
阅读全文
posted @ 2022-09-19 12:14 lwx_R
阅读(23)
评论(0)
推荐(0)
div居中方法
摘要: 1.在父元素使用 display: flex; justify-content: center; align-items: center 其中justify-content是左右居中,align-items是上下居中
阅读全文
posted @ 2022-09-19 12:04 lwx_R
阅读(43)
评论(0)
推荐(0)
将div排成一列
摘要: 1.在子元素使用display:inline-block 注意子元素宽度加上边距不能超过父元素宽度,否则就在下一行展示 <style> #back{ border: red solid 1px; width: 800px; height: 500px; } #back div{ border: bl
阅读全文
posted @ 2022-09-19 11:52 lwx_R
阅读(285)
评论(0)
推荐(0)
上一页
1
···
25
26
27
28
29
30
31
32
33
···
46
下一页
公告