摘要:
题意:是素数就输出Prime,不是就输出最小因子. 阅读全文
posted @ 2018-10-22 21:44
青山新雨
阅读(284)
评论(0)
推荐(0)
摘要:
/* KMP算法 by KONE */ #include #include using namespace std; int* getNxte(char p[], const int size){ int* next = new int[size]; next[0] = -1; //最开头的字符串设置为-1 int k = -1, j = 0; ... 阅读全文
posted @ 2018-10-22 10:22
青山新雨
阅读(123)
评论(0)
推荐(0)

浙公网安备 33010602011771号