Description There are G people in a gang, and a list of various crimes they could commit. The i-th crime generates a profit[i] and requires group[i] g ...
分类:
其他好文 时间:
2020-07-04 13:37:37
阅读次数:
57
Your requirements could not be resolved to an installable set of packages. Problem 1 - phpoffice/phpspreadsheet 1.10.1 requires ext-fileinfo * -> the ...
分类:
其他好文 时间:
2020-07-04 11:39:20
阅读次数:
104
package LeetCode_295 import java.util.* /** * 295. Find Median from Data Stream * https://leetcode.com/problems/find-median-from-data-stream/descripti ...
分类:
其他好文 时间:
2020-07-04 01:10:12
阅读次数:
49
定位界面元素 1、根据元素特征:id,name,class,tag,超链接 写法1: ele=driver.find_element_by_id('kw') 写法2: from selenium.webdriver.common.by import By ele=driver.find_elemen ...
分类:
其他好文 时间:
2020-07-03 23:25:03
阅读次数:
86
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:
其他好文 时间:
2020-07-03 21:49:23
阅读次数:
77
基本建图套路,从单词头向单词尾连一条边,答案就是是否存在一条欧拉路径 #include<bits/stdc++.h> using namespace std; const int N=2e5+10; int p[N]; int din[N],dout[N]; int st[N]; int find( ...
数据库增删改查的通用接口,命名需要严格按照标准,数据库大写单数,请求路径小写复数 ...
分类:
其他好文 时间:
2020-07-03 21:24:50
阅读次数:
59
这是一篇我犯过的各种弱智错误的合集,记录下来以备后用 1.scanf("%d",a); 2.BFS忘记设置队头元素; 3.BFS时忘记每次循环结束后head++ 3.并查集的使用:fa[find(x)] = find(y); 4.(经常导致段错误)邻接表遍历,循环时一顿操作最后忘记将当前边指针指向下 ...
分类:
其他好文 时间:
2020-07-03 21:23:44
阅读次数:
69
DNS的含义和结构 众所周知,在互联网中是用IP来标识一台服务器的。IP地址虽然能够代表一台设备,但是由于记忆起来比较困难,所以将其替换成一个能够理解和识别的名字,这个名字我们称作为域名。例如:www.51cto.com 就是一个域名,在域名后面会定义一个IP地址用来指向网站服务器。那么问题来了,谁 ...
分类:
其他好文 时间:
2020-07-03 19:39:28
阅读次数:
91
overlay 是docker使用的文件系统,具有分层的特点 docker使用的文件系统经过很多变化,而且各发行版可能不同。 执行docker info 查看当前使用的是overlay2 sudo docker info | grep Storage Storage Driver: overlay2 ...
分类:
其他好文 时间:
2020-07-03 19:32:33
阅读次数:
73