原创 C語言字符串函數大全

函數名: strcpy 功 能: 拷貝一個字符串到另一個 用 法: char *stpcpy(char *destin, char *source); 程序例:   #include <stdio.h> #includ

原创 kmp

#include <iostream> #include <stdio.h> #include <string.h> using namespace std; void get(char *d,int *next) { int i

原创 林大378

點擊打開鏈接 #include <cstdlib> #include <iostream> #include <algorithm> using namespace std; int main(int argc, char *argv[]

原创 kmp

#include #include #include using namespace std;void get(char *d,int *next){ int i,j; i=1;j=0; next[1]=

原创 珠子什麼的最討厭了。。

珠子 Time Limit 1000ms Memory Limit 65536K description 小林有一串珠子,是由很多個大小不同的珠子串聯在一起組成的圓環型的,且其中每個珠子的大小可以用int型的整數來表示。小