class Solution { public int characterReplacement(String s, int k) { int left =0,right=0; int maxLength = -1; int result = 0; char[] charNums = new cha ...
分类:
其他好文 时间:
2021-03-17 14:50:06
阅读次数:
0
57. 插入区间 题目链接 枚举 枚举每个区间,判断该区间与需要插入的区间是否相交 若不相交,且比需要插入的区间小,那么直接放入List中 若不相交,但比需要插入的区间大,那么先把区间插入,再把这个区间放入List 若相交,则把这个区间和需要插入的区间合并,继续枚举 class Solution { ...
分类:
其他好文 时间:
2021-03-17 14:30:31
阅读次数:
0
1473下载地址 https://docs.qq.com/doc/DWEpnR2pOWU91b3p4?pub=1&dver=2.1.0 显示格式:hh-mm-ss 可更改的12小时制或24小时制 整点报时功能 闹钟功能 校时功能 #include<reg51.h> char code led_mod ...
分类:
其他好文 时间:
2021-03-17 14:28:24
阅读次数:
0
select id, @group_row:=CASE when @parent_code=a.staff_id then @group_row+1 else 1 end as groupRow, @parent_code:=a.staff_id as parent_code from ss_sta ...
分类:
数据库 时间:
2021-03-17 14:22:05
阅读次数:
0
常见的,Ckeditor有以下的配置方法: 第一种:通过修改config.js文件对Ckeditor进行配置! 最常用的配置项无外乎也就三个: config.width:编辑器的宽 config.height:编辑器的高 config.uiColor:编辑器的颜色,其中uiColor中的C必须大写, ...
分类:
其他好文 时间:
2021-03-17 14:20:00
阅读次数:
0
AtCoder Beginner Contest 195 Editorial Problem A - Health M Death(opens new window) 只要检查 \(H\equiv 0\) 即可. Time complexity is \(\mathcal{O}(1)\). Spac ...
分类:
其他好文 时间:
2021-03-17 14:07:28
阅读次数:
0
#include<stdio.h> #include<stdlib.h> typedef char ElemType; //结点定义 typedef struct node{ ElemType data; struct node* lchild,*rchild; }BiTNode,*BiTree; ...
分类:
其他好文 时间:
2021-03-17 14:03:43
阅读次数:
0
安装VMware虚拟机和Linux系统(CentOS) 学习Linux需要一个环境,我们需要创建一个虚拟机,然后在虚拟机上安装要给CentOS系统来学习 1>先安装virtual machine,vm12 2>再安装Linux(CentOS 6.8) 3>原理示意图 ...
分类:
系统相关 时间:
2021-03-17 14:03:30
阅读次数:
0
################### 前言 引用本地py文件出现红色波浪线,如下图: 原因 经过查询得知,vscode中的python插件默认使用的是pylint来做代码检查,因此需要对pylint做一些配置 解决方案 在setting.json中配置 "python.linting.enable ...
分类:
编程语言 时间:
2021-03-16 14:11:43
阅读次数:
0
原文:https://code.visualstudio.com/docs/nodejs/reactjs-tutorial To debug the client side React code, we'll need to install the Debugger for Chrome exten ...
分类:
其他好文 时间:
2021-03-16 14:09:27
阅读次数:
0