E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)E: Unable to lock the administration directory (/var/lib/dpkg/), are you ...
分类:
系统相关 时间:
2020-07-26 15:56:12
阅读次数:
98
1、查看数据库: SHOW DATABASES [LIKE '数据库名']; 语法说明如下: LIKE 从句是可选项,用于匹配指定的数据库名称。LIKE 从句可以部分匹配,也可以完全匹配。 数据库名由单引号' '包围。 示例1: mysql> SHOW DATABASES; + + | Databa ...
分类:
数据库 时间:
2020-07-26 15:51:50
阅读次数:
78
Find Minimum in Rotated Sorted Array II (H) 题目 Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [ ...
分类:
其他好文 时间:
2020-07-26 15:29:37
阅读次数:
58
题目描述 The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair ...
分类:
其他好文 时间:
2020-07-26 15:22:02
阅读次数:
59
A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between ...
分类:
其他好文 时间:
2020-07-26 02:05:42
阅读次数:
102
内聚性 又称块内联系 指模块的功能强度的度量,即一个模块内部各个元素彼此结合的紧密程度的度量。 特性 内聚性是对一个模块内部各个组成元素之间相互结合的紧密程度的度量指标。 模块中组成元素结合的越紧密,模块的内聚性就越高,模块的独立性也就越高。 理想的内聚性要求模块的功能应明确、单一,即一个模块只做一 ...
分类:
其他好文 时间:
2020-07-26 01:46:24
阅读次数:
55
1. 函数重载的回顾 同一个函数名定义不同函数(互不相同的函数,共享一个函数名) (1)函数重载的本质为相互独立的不同函数 (2)C++中通过函数名和函数参数确定函数调用,函数名和参数列表组成唯一的标识 (3)无法直接通过函数名得到重载函数的入口地址 重载函数的入口地址不同 (4)函数重载必然发生在 ...
分类:
其他好文 时间:
2020-07-26 01:26:00
阅读次数:
60
In this note,you will not find the concept of QS and the method of how to compute the cost of time and space of this algorithm。This page will not refe ...
分类:
其他好文 时间:
2020-07-26 01:23:01
阅读次数:
76
1. 批量重命名文件为数字编号 进入所需要重命名的数据集的文件夹,在终端运行 $ i=k; for x in ./*; do mv $x $i.mp4; let i=i+1; done # 'k' is the start number you want, such as 1 or 1000; '. ...
分类:
系统相关 时间:
2020-07-26 00:44:57
阅读次数:
112
Creating a GUI the way we just did works okay for very small scripts, but a much more scalable approach is to subclass Tkinter widgets to create compo ...
分类:
其他好文 时间:
2020-07-26 00:40:59
阅读次数:
61