《2011 ACM/ICPC 上海赛区网络赛解题报告汇总》的评论 https://acmicpc.info/archives/312?utm_source=rss&utm_medium=rss&utm_campaign=2011-acmicpc-%25e4%25b8%258a%25e6%25b5%25b7%25e8%25b5%259b%25e5%258c%25ba%25e7%25bd%2591%25e7%25bb%259c%25e8%25b5%259b%25e8%25a7%25a3%25e9%25a2%2598%25e6%258a%25a5%25e5%2591%258a%25e6%25b1%2587%25e6%2580%25bb ACMer的信息平台 Thu, 07 Jan 2021 10:46:45 +0000 hourly 1 https://wordpress.org/?v=4.6.28 作者:fcjy888 https://acmicpc.info/archives/312#comment-31 Fri, 16 Sep 2011 17:22:08 +0000 http://acmicpc.info/?p=312#comment-31 膜拜那个hash过程

]]>
作者:SwordHoly https://acmicpc.info/archives/312#comment-18 Sun, 11 Sep 2011 03:44:27 +0000 http://acmicpc.info/?p=312#comment-18 04 Dwarven Sniper’s hunting http://acm.nbu.edu.cn/SwordHoly/?p=260

]]>
作者:ftiasch https://acmicpc.info/archives/312#comment-17 Sun, 11 Sep 2011 03:38:01 +0000 http://acmicpc.info/?p=312#comment-17 – – 1009就是枚举长度width。然后令h[i][j] = Hash(a[i][j], a[i][j + 1], a[i][j + 2], …, a[i][j + width – 1])。按列构造一个新串h[1][1], h[2][1], …, h[n][1], #1, h[1][2], h[2][2], …, h[n][2], #2, …, h[1][m], h[2][m], …, h[n][m] #m。其中#1, #2, …, #m是分隔符。然后求这个新串有多少个不同的子串。

一个字符串的不同子串数量,实际上就是len * (len + 1) / 2减去后缀排序后相邻两个后缀LCP的长度。证明显然。

整个复杂度是O(N^3 log N)。

]]>
作者:xym https://acmicpc.info/archives/312#comment-16 Sun, 11 Sep 2011 02:42:59 +0000 http://acmicpc.info/?p=312#comment-16 06 Unlock the Cell Phone http://blog.csdn.net/xymscau/article/details/6766700

]]>
作者:xiaodao https://acmicpc.info/archives/312#comment-15 Sun, 11 Sep 2011 00:57:21 +0000 http://acmicpc.info/?p=312#comment-15 sssstO 。。

]]>
作者:mzry1992 https://acmicpc.info/archives/312#comment-14 Sat, 10 Sep 2011 19:21:19 +0000 http://acmicpc.info/?p=312#comment-14 全都有
http://user.qzone.qq.com/122155302/blog/1315682296

]]>
作者:zxy https://acmicpc.info/archives/312#comment-13 Sat, 10 Sep 2011 17:22:01 +0000 http://acmicpc.info/?p=312#comment-13 7 Can you answer these queries?
http://www.blogjava.net/sweetsc/archive/2011/09/10/358427.html

]]>
作者:zxy https://acmicpc.info/archives/312#comment-12 Sat, 10 Sep 2011 15:16:55 +0000 http://acmicpc.info/?p=312#comment-12 8 The time of a day
http://archive.cnblogs.com/a/2173352/

]]>
作者:zxy https://acmicpc.info/archives/312#comment-11 Sat, 10 Sep 2011 14:51:22 +0000 http://acmicpc.info/?p=312#comment-11 10 tank
http://hi.baidu.com/%E5%B0%8F%E6%AD%A6rj/blog/item/e98bbd0ef47d9b316159f30d.html

3 game
http://www.cnblogs.com/staginner/archive/2011/09/10/2173317.html

1 24 puzzle
http://archive.cnblogs.com/a/2173365/

4 Dwarven Sniper’s hunting
http://www.cppblog.com/aswmtjdsj/archive/2011/09/10/155528.aspx

]]>