摘要:
模拟吧,算是。。。被这个题wa到哭,真是什么都不想说了。。。上代码 1 #include 2 #include 3 using namespace std; 4 5 struct node { 6 int x,y; 7 char c; 8 }q[10]; 9 ... 阅读全文
摘要:
字符串匹配: 先把已给串n[]全按转换表s[]转换为明码存入m[]中; 接下来只要求出k:n[lenn-k~lenn-1]==m[0~k]; 输出n[0~k],m[0~k]; 1 #include 2 #include 3 using namespace std; 4 5 char s[... 阅读全文