上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: 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) 编辑
摘要: TEX Quotes Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 10056 Accepted: 5250 Description TEX is a typesetting language... 阅读全文
posted @ 2016-07-23 19:45 弃用博客 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Inglish-Number Translator Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5162 Accepted: 2027 Description In this problem, ... 阅读全文
posted @ 2016-07-23 17:02 弃用博客 阅读(335) 评论(0) 推荐(0) 编辑
摘要: Numbers That Count Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 20129 Accepted: 6735 Description "Kronecker's Knumbers... 阅读全文
posted @ 2016-07-23 16:24 弃用博客 阅读(159) 评论(0) 推荐(0) 编辑
摘要: C语言递归算法是怎么执行的#include void net(int);int main(){ net(1); return 0;}void net(int n){ printf("数字%d:n的地址是:%p\n", n, &n); if(n 递归就是自己调用自... 阅读全文
posted @ 2016-07-22 22:42 弃用博客 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 有一串已经从小到大排好序的数 2 3 5 8 9 10 18 26 32。现需要往这串数中插入 6 使其得 到的新序列仍符合从小到大排列。 链表中的每一个结点只有两个部分。我们可以用一个数组 data 来存储每序列中的每一个 数。那每一个数右边的数是谁,这一点该怎么解决呢?上一节中是使用指... 阅读全文
posted @ 2016-07-19 02:35 弃用博客 阅读(145) 评论(0) 推荐(0) 编辑
摘要: #include #include#includeusing namespace std;char *catstr(char *a,char *b){char *p=a,*q=b;while(*p) p++;while(*q)*p++=*q++;*p='\0';return a;}int mai... 阅读全文
posted @ 2016-07-03 16:22 弃用博客 阅读(1251) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页