题目 Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facing backward, ...
分类:
其他好文 时间:
2020-04-06 09:56:48
阅读次数:
80
题目描述 Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facing backwar ...
分类:
其他好文 时间:
2020-04-06 00:23:00
阅读次数:
298
题面: If we represent a date in the format YYYY-MM-DD (for example, 2017-04-09), do you know how many 9s will appear in all the dates between Y1-M1-D1 a ...
分类:
其他好文 时间:
2020-04-05 22:01:51
阅读次数:
84
Mybatis Plus Introduce Simple:MyBatis Plus is an powerful enhanced tool for MyBatis. it provides many efficient operations for MyBatis. and you can se ...
分类:
其他好文 时间:
2020-04-05 13:18:30
阅读次数:
87
Env Debian 9 报错 程序连接数据库报错,mongodb日志中显示 。 初步判定是mongodb的连接数满了。 排错过程 1. 查看mongo连接数 连接数果然满了 2. 尝试修改连接数,mongo启动时增加 参数,重启mongo,一会连接数又满了,一些资料上说最大是 20000,默认是1 ...
分类:
数据库 时间:
2020-04-04 14:32:24
阅读次数:
107
使用唯一索引+insert_many+ordered=false insert_many方法本质上也是bulk操作,但它较update少了搜索的部分,因此理论上更快。同时也是因为没有进行搜索就插入,它没有办法判断插入的数据是否存在,这点就需要通过item_id上的唯一索引来确保。同时默认情况下ins ...
分类:
数据库 时间:
2020-04-02 21:03:26
阅读次数:
357
Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c ...
分类:
其他好文 时间:
2020-03-29 10:56:42
阅读次数:
54
Solutions to mount ntfs drives on CentOS 1. 驱动器 ntfs-3g is an NTFS drive, it’s bound to provide access for Linux, android, mac, freeBSD and many other ...
分类:
Web程序 时间:
2020-03-28 00:48:49
阅读次数:
126
> Coral.> Hello year three.> In this lesson we will continue our underwater theme by practicing how to draw coral.> Many of you may have seen the cora ...
分类:
其他好文 时间:
2020-03-27 19:46:06
阅读次数:
113
一、引入 最近一个python的定时任务系统的项目,在做定时数据统计的时候经常报错too many connections,字面意思很简单,就是数据库连接池不够用了。那么比较直接的方法就是手动设置数据库的最大连接数max_connections 二、如何配置 1.查询Mysql当前的最大连接数 my ...
分类:
数据库 时间:
2020-03-27 14:26:09
阅读次数:
115