题意 https://vjudge.net/problem/CodeForces-1238D 如果一个字符串的每个字母,属于至少一个(长度大于1)的回文串,则称这个字符串为good。 一个长度为n的字符串s(只由字母A,B组成),问s的子串中有多少个good字符串 思路 发现只有XYX这种交错的串或 ...
分类:
其他好文 时间:
2019-12-04 01:50:00
阅读次数:
92
虽然已经走在 torch boy 的路上了, 还是把碰到的这个坑给记录一下 数据量较小时,我们可直接把整个数据集 load 到内存里,用 model.fit() 来拟合模型。 当数据集过大比如几十个 G 时,内存撑不下,需要用 model.fit_generator 的方式来拟合。 model.fi ...
分类:
其他好文 时间:
2019-11-28 20:48:29
阅读次数:
268
题意: 思路:From https://blog.csdn.net/qq_36553623/article/details/76683438 大概就是把1e6里面的质因子能除的都除光之后借助两者gcd中有最大质因子的条件分类讨论 其实也就5类,重点是如何设分类的标准,其实唯一的标准就是对答案的贡献 ...
分类:
其他好文 时间:
2019-11-22 23:43:04
阅读次数:
97
She said her first word at 7 months old. Emlie graduated from a really good unviersity. I was married in 1983. that's when I became an adult. Her husb ...
分类:
其他好文 时间:
2019-11-21 20:11:21
阅读次数:
84
create database mianshi5; use mianshi5; create table boys( boy_id int not null, boy varchar(10), toy_id int); create table toys( toy_id int primary ke ...
分类:
数据库 时间:
2019-11-20 23:29:08
阅读次数:
121
1、获得TPS插件 https://www.cnblogs.com/beginner-boy/p/7806220.html 参见,已保存百度云盘 2、添加后,记得使用调度器——每秒50个并发,持续60秒,观察TPS 3、TPS,执行一次事务(包括请求、请求服务器、等待服务器返回等等,比如一个TPS事 ...
分类:
其他好文 时间:
2019-11-17 12:46:24
阅读次数:
369
So, it is most likely the most crucial portion of the years spent researching for a college degree. You may be good at writing, hunting information, a ...
分类:
其他好文 时间:
2019-11-14 22:15:13
阅读次数:
94
Ujan has been lazy lately, but now has decided to bring his yard to good shape. First, he decided to paint the path from his house to the gate. The pa ...
分类:
其他好文 时间:
2019-11-10 11:44:17
阅读次数:
73
# ### 正则表达式 => 匹配分组 # 把想要匹配的内容,用小圆括号包起来,表达分组,并且会优先显示(优先显示就是只显示它)print(re.findall('(.*?)_good','wusir_good alex_good secret男_good'))# ?: 取消括号优先显示的功能pri ...
分类:
其他好文 时间:
2019-11-09 19:29:47
阅读次数:
88
Ujan has been lazy lately, but now has decided to bring his yard to good shape. First, he decided to paint the path from his house to the gate. The pa ...
分类:
其他好文 时间:
2019-11-09 00:25:44
阅读次数:
99