Python 简介 Python 入门教程 Python 编写代码语法 Python 注释作用写法及示例代码 Python 变量 Python 数据类型 Python 字符串(String)的使用 Python Number(数字)数值数据类型 Python 数据类型转换(Casting) Pyth ...
分类:
编程语言 时间:
2021-04-21 12:31:32
阅读次数:
0
A. God Sequence 先把正的负的 \(1\dots a-1,1\dots b-1\) 填上,如果正数多那么最后一个负数放两者和的相反数,负的多类似 B.ARC Wrecker 考虑没两种高度的差值来决定方案数 那么排序去重之后将两两的差 \(+1\) 乘起来即可 C.Tricolor P ...
分类:
其他好文 时间:
2021-04-21 11:44:37
阅读次数:
0
给定字符串 s 和 t ,判断 s 是否为 t 的子序列。 字符串的一个子序列是原始字符串删除一些(也可以不删除)字符而不改变剩余字符相对位置形成的新字符串。(例如,"ace"是"abcde"的一个子序列,而"aec"不是)。 进阶: 如果有大量输入的 S,称作 S1, S2, ... , Sk 其 ...
分类:
其他好文 时间:
2021-04-20 15:36:11
阅读次数:
0
[^"]* // []里面的^表示 非, *表示任意数量,这一段的意思是: 匹配 任意数量的不为"的字符 "></img> // "></img> ...
分类:
Web程序 时间:
2021-04-20 15:07:54
阅读次数:
0
快速查看ES集群状态 GET _cluster/health { "cluster_name": "elasticsearch", "status": "yellow", "timed_out": false, "number_of_nodes": 1, "number_of_data_nodes" ...
分类:
其他好文 时间:
2021-04-20 14:54:42
阅读次数:
0
问题 let badge = [{id: 323, badge: 10},{id: 323, badge: 10},{id: 311, badge: 1},{id: 311, badge: 1},{id: 311, badge: 1},{id: 311, badge: 1},{id: 352, ba ...
分类:
编程语言 时间:
2021-04-16 11:50:48
阅读次数:
0
SQL Server 数据类型Oracle 数据类型 bigint NUMBER(19,0) binary(1-2000) RAW(1-2000) binary(2001-8000) BLOB bit NUMBER(1) char(1-2000) CHAR(1-2000) char(2001-400 ...
分类:
数据库 时间:
2021-04-16 11:43:58
阅读次数:
0
题目: Implement a function that receives two IPv4 addresses, and returns the number of addresses between them (including the first one, excluding the la ...
分类:
其他好文 时间:
2021-04-15 12:16:50
阅读次数:
0
增强for循环 public class ForDemo{ public static void main(String[] args){ int[] numbers = {10,20,30,40,50}; //遍历数组元素 for(int x:numbers){ System.out.printl ...
分类:
编程语言 时间:
2021-04-14 12:36:49
阅读次数:
0
强制类型转换 -指将一个类型强制转换为其他的数据类型 -类型转换是指,将其他数据类型,转换为 string number boolean 将其他类型转换为string * 方式一 调用被转换类型的toString方法,该方法不会影响原变量,会将转换的结果进行返回 但是注意null和undefined ...
分类:
Web程序 时间:
2021-04-14 12:04:24
阅读次数:
0