随笔分类 -  字符串处理

摘要://BF 算法int BFmatch(char *s,char *p){ int i,j; i = 0; while(i<strlen(s)) { j = 0; while(s[i] == p[j] && j<strlen(p)) {... 阅读全文
posted @ 2014-08-14 14:45 HuberyQian 阅读(115) 评论(0) 推荐(0)
摘要:http://acm.sdut.edu.cn:8080/vjudge/contest/view.action?cid=187#problem/C#include #include #include #include using namespace std;char s[300];int main()... 阅读全文
posted @ 2014-07-30 17:14 HuberyQian 阅读(114) 评论(0) 推荐(0)