原题 1 class Solution: 2 def searchRange(self, nums: List[int], target: int) -> List[int]: 3 ans,lens = [-1,-1],len(nums) 4 left,right,flag = 0,lens - 1 ...
分类:
编程语言 时间:
2021-02-15 12:26:30
阅读次数:
0
安装好Tomcat9之后,执行./start.sh启动时没有报错,但是在浏览器中打不开Tomcat的页面。而且在执行./shutdown.sh关闭服务器时报告了这样一个错误:
Tomcat9 Error: Could not find or load main class org.apache.ca... ...
分类:
Web程序 时间:
2021-02-10 13:16:40
阅读次数:
0
有时候我们需要查找可执行程序的依赖的动态库,我们可以使用 readelf ,比如这样》 [root@RV1126_RV1109:/py-spidev]# readelf -d /bin/ls | grep "Shared library" 0x00000001 (NEEDED) Shared lib ...
分类:
其他好文 时间:
2021-02-10 13:14:04
阅读次数:
0
This time, you are supposed to find $A+B$ where $A$ and $B$ are two polynomials. Input Specification: Each input file contains one test case. Each cas ...
分类:
其他好文 时间:
2021-02-10 13:03:20
阅读次数:
0
Given the root of a binary tree, return the leftmost value in the last row of the tree. Example 1: Input: root = [2,1,3] Output: 1 Example 2: Input: r ...
分类:
其他好文 时间:
2021-02-10 12:54:11
阅读次数:
0
#creation:2021-02-02#Define variabledate=`date +%Y%m%d`basedir=/data2/backup#Create cd $basedirmkdir rmanbak0_$date#delete expire document#find $based ...
分类:
其他好文 时间:
2021-02-09 11:53:37
阅读次数:
0
1、下载jdk-1.8,官网下载1.8 注意:不要使用wget命令去下载jdk,若能够下载下来,解压的时候也会报错的; 2、卸载openjdk (1)使用 rpm -qa | grep java 命令查看系统自带的jdk;下图中红色框的4个; (2)使用 rpm -e --nodeps 命令来强制卸 ...
分类:
其他好文 时间:
2021-02-08 12:43:01
阅读次数:
0
https://blog.csdn.net/czc9309/article/details/80304074 PS:从eclipse刚转到IDEA,对于这个陌生的工具我表示无言,但听说很好用,也就试试,结果我几乎花了一晚上的时间才搭起来maven web项目,觉得在此给各位一个搭建maven web ...
分类:
Web程序 时间:
2021-02-08 12:19:16
阅读次数:
0
// language C with STL(C++) // 剑指44 // https://leetcode-cn.com/problems/shu-zi-xu-lie-zhong-mou-yi-wei-de-shu-zi-lcof/ // 同主站400题 // https://leetcode- ...
分类:
其他好文 时间:
2021-02-06 11:54:26
阅读次数:
0
模块化介绍 模块化是指讲一个大的程序文件,拆分成许多小的文件,然后将小文件组合起来。 模块化好处 防止命名冲突 代码复用 高维护性 模块化规范产品 ES6之前的模块化规范有: CommonJS ? NodeJS、Browserify AMD ? requireJS CMD ? seaJS ES6模块 ...
分类:
其他好文 时间:
2021-02-05 10:37:47
阅读次数:
0