摘要:
#include<iostream> using namespace std; typedef struct avltree { int key; int height; struct avltree *left,*right; }Node,*avlTree; int height(avlTree 阅读全文
摘要:
1.BF匹配 #include"iostream" using namespace std; string s,p; int bf(){ int i,j; i = j = 0; int li = s.length(); int lp = p.length(); while(i < li && j < 阅读全文