恢复内容开始 Range Sum Query 2D - Immutable (M) 题目 Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left cor ...
分类:
其他好文 时间:
2020-06-27 09:36:59
阅读次数:
61
sql 多层嵌套 优化, 首先从算法, 逻辑上优化, 再分析语法. 经验就是一个个坑踩过来的吧. ...
分类:
数据库 时间:
2020-06-25 21:39:00
阅读次数:
92
一,数据类型 1,数字(整形,长整形,浮点型,复数) 2字符串 需要掌握的: #1、strip,lstrip,rstrip #2、lower,upper #3、startswith,endswith #4、format的三种玩法 #5、split,rsplit #6、join #7、replace ...
分类:
其他好文 时间:
2020-06-25 21:12:49
阅读次数:
54
复习 # str # upper lower # startswith endswith # s = 'Python世界' # print(s.upper()) # print(s.lower()) # print(s.startswith('P')) # print(s.endswith('界') ...
分类:
编程语言 时间:
2020-06-24 21:45:17
阅读次数:
58
vue 注册全局基础组件 使用了 webpack (或在内部使用了 webpack 的 Vue CLI 3+),那么就可以使用 require.context 在src/main.js写入以下关键代码 必须在根 Vue 实例 (通过 new Vue) 创建之前发生 import Vue from ' ...
分类:
其他好文 时间:
2020-06-24 15:52:15
阅读次数:
45
//密码验证规则 services.Configure<IdentityOptions>(options => { options.Password.RequireDigit = false; options.Password.RequireLowercase = false; options.Pa ...
分类:
其他好文 时间:
2020-06-22 17:29:56
阅读次数:
162
1.描述: upper():用于将字符串全部转换为大写字母 lower():用于将字符串全部转换为小写字母 2.语法 str.upper() str.lower() 3.返回值 upper()或lower()方法有返回值,可以使用新的字符串来接受,调用upper()或lower()方法不会改变原字符 ...
分类:
编程语言 时间:
2020-06-22 15:50:39
阅读次数:
77
C语言 字节数组和hex和互相转换 #include<iostream> #include<string.h> #include<stdio.h> //字节流转换为十六进制字符串 void ByteToHexStr(const unsigned char* source, char* dest, i ...
分类:
编程语言 时间:
2020-06-21 23:17:25
阅读次数:
162
字符函数 length() concat() substr() instr() trim() upper() lower() lpad() rpad() replace() 数学函数 round() ceil() truncate() mod() 日期函数 now() curdate() curti ...
分类:
数据库 时间:
2020-06-21 20:11:50
阅读次数:
69
【重点】 内置函数 -- 1. 字符串方法 --Left(): 返回字符串从左开始数,指定数量的字符串select left('的事撒大大多大多所',4)select left('的事撒大大多大多所',4)+'...' --Right():返回字符串从右开始数,指定数量的字符串select righ ...
分类:
数据库 时间:
2020-06-19 16:30:35
阅读次数:
71