![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
Youga_
oier
展开
-
[UVA10881][模拟]Piotr's Ants
\One thing is for certain: there is no stopping them; the ants will soon be here. And I, for one, welcome our new insect overlords.” Kent Brockman Piotr likes playing with ants. He has n of原创 2016-10-25 17:07:09 · 325 阅读 · 0 评论 -
[NOIP模拟题][模拟][DP][乱搞]
T1 给定文本串A,模板串B,在A中从小到大找到B的每一个字符,输出最大字典序答案刚看到这道题就想是不是KMP,然而这并不可以,然后我就一脸懵逼。敲完第二题回来才发现这是道傻逼题,倒叙扫描即可T2 给定n*m 01串,奇数行0只能上下通过,且无价值,偶数行0的价值为连着一整块0的数量,求从第一行到最后一行最大价值一眼DP无疑,f[i][j]表示i行j列最大价值,从上往下推即可。只是这里要原创 2016-11-02 19:12:44 · 369 阅读 · 0 评论