摘要:
#include#includeusing namespace std;//rn=max(pi+rn-1)int Cut_Rod(int *p, int n){ if (n == 0) return 0; int q = -1; for (int i = 1; i =... 阅读全文
posted @ 2015-04-06 20:34
liuhg
阅读(275)
评论(0)
推荐(0)
摘要:
#include#include#include #include #include using namespace std;//朴素模式匹配void Naive_String_Matcher(string T, string P){ int n = T.length(); int m ... 阅读全文
posted @ 2015-04-06 16:11
liuhg
阅读(206)
评论(0)
推荐(0)

浙公网安备 33010602011771号