摘要: Word Amalgamation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 9164 Accepted: 4375 Description In millions of newspape... 阅读全文
posted @ 2016-07-24 17:25 弃用博客 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 对多个字符串排序,比较函数用strcmp写,如string数组存储的多个字符串 #include #include #include #include #include using namespace std;string s[110];bool cmp (string a, string b)... 阅读全文
posted @ 2016-07-24 16:16 弃用博客 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Hay Points Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6269 Accepted: 4006 Description Each employee of a bureaucracy... 阅读全文
posted @ 2016-07-24 15:25 弃用博客 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 栈的存储结构分为顺序存储结构(用数组实现)和链表存储结构(用链表实现) 相同点:从"数据结构"的角度看,它们都是线性结构,即数据元素之间的关系相同。 不同点:栈(Stack)是限定只能在表的一端进行插入和删除操作的线性表。 队列(Queue)是限定只能在表的一端进行插入和在另一端进行删除操作... 阅读全文
posted @ 2016-07-24 10:14 弃用博客 阅读(152) 评论(0) 推荐(0) 编辑