Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Especially a ...
分类:
其他好文 时间:
2020-07-17 01:14:23
阅读次数:
90
1、创建索引 2、创建文档 使用PostMan调用 http://192.168.127.130:9200/my_doc/_doc/1 -> http://192.168.127.130:9200/{索引名称}/_doc/{索引ID} _doc 代表创建文档 1为索引ID,是指索引在ES中的id,而 ...
分类:
其他好文 时间:
2020-07-16 21:02:02
阅读次数:
103
一个数最多能取8-9次根号。 #include <bits/stdc++.h> using namespace std; #define debug printf("bug!!!\n"); typedef long long ll; const int MAXN=1e5+10; const ll M ...
分类:
其他好文 时间:
2020-07-16 10:11:53
阅读次数:
74
链接:https://leetcode-cn.com/problems/subsets-ii/ 代码 class Solution { public: vector<vector<int>> ans; vector<int> path; vector<vector<int>> subsetsWith ...
分类:
其他好文 时间:
2020-07-16 00:27:10
阅读次数:
75
注明:参考文献《信息学奥赛一本通》 "my name is the porter of nature" 介绍 KMP算法是用于字符串匹配问题的,它利用一种巧妙而又不失逻辑的方法去减少算法的时间复杂度,在处 理较多数据匹配时或者数据范围大的时候用处极大(反正我是五体投地),也就是如果问主串是否包含子 ...
分类:
编程语言 时间:
2020-07-16 00:23:39
阅读次数:
97
# prometheus.yml 配置# my global config global: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. evaluatio ...
分类:
系统相关 时间:
2020-07-16 00:04:28
阅读次数:
81
Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can be divided by 13. ...
分类:
其他好文 时间:
2020-07-15 23:20:22
阅读次数:
96
MySql默认端口号为3306,如果安装多个或者冲突需要修改端口号,修改my.ini的端口号就可以了,文件一般情况下在安装目录下。下面是具体说明:方法/步骤1一般情况下都在安装目录下,如果不再的话,就找一下c:\windows、c:\windows\system32下面或者使用windows的搜索功能找一下my.ini。例如我的在:D:\ProgramFiles\MySQL\MySQLServer
分类:
数据库 时间:
2020-07-15 12:50:40
阅读次数:
86
由于mysql旧版本太久没有用,突然挂了 我就准备下载个新版的安装 1.首先先到官网下载新版免安装包 https://dev.mysql.com/downloads/installer/ 安装的目录应当放在指定位置,,其次,绝对路径中避免出现中文,推荐首选英文为命名条件!!!! 2.需要配置下 My ...
分类:
数据库 时间:
2020-07-15 10:45:46
阅读次数:
100
线上某服务时不时报出如下异常(大约一天二十多次):“Deadlock found when trying to get lock;”。 Oh, My God! 是死锁问题。尽管报错不多,对性能目前看来也无太大影响,但还是需要解决,保不齐哪天成为性能瓶颈。 为了更系统的分析问题,本文将从死锁检测、索引 ...
分类:
数据库 时间:
2020-07-14 16:49:46
阅读次数:
86