博主的 bibi 时间 震惊!在加了两种欧拉函数求法优化 + 矩阵惊人优化后的代码竟然比不过朴素欧拉函数 + 矩阵无优化!!!博主吐血调题慌张分析仍然 $TLE$!!!这一切背后,究竟是人性的扭曲还是道德的沦丧?是 的爆发还是|饥|^渴的无奈??(我没有打错符号 /xyx 好了我就不 $bibi$ ...
分类:
其他好文 时间:
2020-04-17 23:24:16
阅读次数:
89
设计状态dp[i][j]表示T串Ti到Tj(区间i,j)匹配到的个数 由于T串比S串小,所以在区间(m,n)可以插入的字符串是任意的。 转移方程 if s[i] = t[l],dp[l][r] = dp[l][r] + dp[l+1][r] if s[i] = t[r] ,dp[l][r] = dp ...
分类:
其他好文 时间:
2020-04-17 12:35:45
阅读次数:
76
补题,参考博客:https://blog.csdn.net/qq_43676357/article/details/105559491?fps=1&locationNum=2 ...
分类:
其他好文 时间:
2020-04-16 20:54:41
阅读次数:
78
In an n x n chessboard, Prince and Princess plays a game. The squares in the chessboard are numbered 1, 2, 3 ... n*n, as shown below:Prince stands in ...
分类:
其他好文 时间:
2020-04-09 12:37:11
阅读次数:
87
嘤嘤嘤,我又来了,刚A完就写,这个沙雕题有丶恶心 题目: In an n×n chessboard, Prince and Princess plays a game. The squares in the chessboard are numbered 1, 2, 3, . . . , n?n, ...
分类:
其他好文 时间:
2020-04-09 00:58:08
阅读次数:
300
Problem Description Benny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes ...
分类:
其他好文 时间:
2020-04-08 19:31:25
阅读次数:
68
Radio和checkbox需要美化吗?答案是必须的,因为设计风格一直都会变化,原生的样式百年不变肯定满足不了需求。 先看看纯CSS美化过后的radio和checkbox效果:查看。 项目地址:magic-check 在CSS出现之前,我们美化radio和checkbox需要借助JavaScript ...
分类:
Web程序 时间:
2020-04-07 20:39:46
阅读次数:
109
https://www.ibm.com/developerworks/cn/linux/l-cn-kernelmodules/index.html 解决方法 https://blog.csdn.net/hbcbgcx/article/details/88192223 http://blog.chin ...
分类:
系统相关 时间:
2020-03-30 16:18:54
阅读次数:
102
When they are in balance, there is real visual magic. ...
分类:
其他好文 时间:
2020-03-29 01:14:35
阅读次数:
165
Dissecting the Disruptor: What's so special about a ring buffer? Trisha's Ramblings: Dissecting the Disruptor: Why it's so fast (part one) - Locks Are ...
分类:
其他好文 时间:
2020-03-14 15:06:15
阅读次数:
70