1. for循环语句 1.1 循环结构 1.2 for循环语句的格式 执行流程图: 1.3 案例 public static void main(String[] args) { int count = 0; for (int i = 100; i < 1000; i++) { int ge = i ...
分类:
编程语言 时间:
2021-04-09 13:18:38
阅读次数:
0
思路:从s1的第0位开始切片len(s2)个字符串进行比较,相同则计数加1,依次后移,直到最后. def search_substr(s1, s2): if len(s2) > len(s1): return 0 cnt = 0 for i in range(len(s1)): print(i) t ...
分类:
编程语言 时间:
2021-04-09 13:07:30
阅读次数:
0
1.vim 复制 1、复制 1)单行复制 在命令模式下,将光标移动到将要复制的行处,按“yy”进行复制; 2)多行复制 在命令模式下,将光标移动到将要复制的首行处,按“nyy”复制n行;其中n为1、2、3…… 2、粘贴 在命令模式下,将光标移动到将要粘贴的行处,按“p”进行粘贴 任务:将第9行至第1 ...
分类:
系统相关 时间:
2021-04-09 13:01:38
阅读次数:
0
多模块,在使用mybatis-plus时,找不到其他模块的xml 报org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 错误 发现target下mapper包中的xml文件夹没有被编译,在父工 ...
分类:
编程语言 时间:
2021-04-09 12:59:31
阅读次数:
0
C语言由函数、语句和注释三部分组成: 函数与主函数: 一个C语言源程序可以由一个或多个源文件组成,每个源文件可由一个或多个函数组成,一个源程序不论由多少个文件组成,都有一个且只能有一个main函数,即主函数。 源程序中可以有预处理命令(include 命令仅为其中的一种),预处理命令通常应放在源文件 ...
分类:
编程语言 时间:
2021-04-09 12:57:13
阅读次数:
0
"tabBar": { "color": "#8a8a8a", "selectedColor": "#1AAD16", "backgroundColor": "#fff", "borderStyle": "white", "list": [ { "pagePath": "pages/index/in ...
分类:
微信 时间:
2021-04-08 13:41:30
阅读次数:
0
//工具类 package test; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import java.awt.FontMetrics; import java.awt.Graphics; i ...
分类:
编程语言 时间:
2021-04-08 13:33:23
阅读次数:
0
语法: 删除视图: DROP VIEW 视图名1, 视图名2...;查看视图: DESC VIEW 视图名;(推荐) 或者 SHOW CREATE VIEW 视图名;注意:此种查看会将视图的创建过程展示出来; ...
分类:
数据库 时间:
2021-04-08 13:32:36
阅读次数:
0
题目:People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, w ...
分类:
其他好文 时间:
2021-04-08 13:28:06
阅读次数:
0
1、为table添加 :header-cell-style="rowClass" 2、通过rowClass 将要跨列的columnIndex 添加属性 colSpan : 2 被合并的列隐藏 const tableHeaderStyle = { background: '#305496', colo ...
分类:
其他好文 时间:
2021-04-08 13:25:19
阅读次数:
0