POJ1936-All in All
摘要:
转载请注明出处:優YoU http://user.qzone.qq.com/289065406/blog/1300626728在s2中找s1的子串而已,本来还想用LCS的,后来想想,这样空间消耗太大,用滚动数组又麻烦。。。毕竟列数最多高达10W = = 所以还是算了,直接模拟更快= =结论:水题一道,放开怀抱去模拟吧\(^o^)/~注意下标范围 int是够不到10W的,我用了long 没了 1 //Memory Time 2 //364K 0MS 3 4 #include<iostream> 5 #include<string> 6 using namespace st 阅读全文
posted @ 2011-07-30 20:53 小優YoU 阅读(176) 评论(0) 推荐(0)
浙公网安备 33010602011771号