摘要: 标识符,关键字,注释,变量,scanf和printf函数 阅读全文
posted @ 2016-01-06 21:24 Vertex_ZL 阅读(360) 评论(0) 推荐(0)
摘要: 全局变量与局部变量 阅读全文
posted @ 2016-01-05 21:46 Vertex_ZL 阅读(137) 评论(0) 推荐(0)
摘要: 题目意思:给出若干关键的单词,和若干的句子,从句子中找出包含关键词出现次数最多的输出,当次数相同时以任意顺序输出解题思路:此题目主要是字符类的操作而且是关注字母的故可以用字典树也称Trie树的这个算法做,最后排下序,将最大的句子按格式要求输出即可代码: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 const int coutNum=26; 9 10 struct Trie 11 { 12 int v; 13 struct Trie *n... 阅读全文
posted @ 2013-09-09 20:23 Vertex_ZL 阅读(170) 评论(0) 推荐(0)
摘要: 我的博客开了——心得新的征程开始了 阅读全文
posted @ 2013-04-16 22:14 Vertex_ZL 阅读(81) 评论(0) 推荐(0)