摘要: DescriptionAn encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. W... 阅读全文
posted @ 2014-11-22 11:25 NYNU_ACM 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 将文章中一些单词替换成另一些单词;1、先用单模式匹配算法找到该字符串(strstr、find、KMP)2、进行截取和替换(strcat,strcpy)下面给出相应实现代码:#include#include#include#includeusing namespace std ;int main() ... 阅读全文
posted @ 2014-11-22 01:26 NYNU_ACM 阅读(142) 评论(0) 推荐(0) 编辑