上一页 1 ··· 81 82 83 84 85 86 87 88 89 ··· 98 下一页
摘要: 【出处】http://blog.csdn.net/ekeuy/article/details/41042033 题目一: 村子里有50个人,每人有一条狗,在这50条狗中有病狗(这种病不传染),于是人们要找出病狗。每个人可以观察其他49条狗,以判断他们是否生病,(如果有病一定能看出来),只有自己的狗不 阅读全文
posted @ 2017-12-06 17:23 Veritas_des_Liberty 阅读(2008) 评论(0) 推荐(0)
摘要: 笔记链接 阅读全文
posted @ 2017-12-06 10:28 Veritas_des_Liberty 阅读(222) 评论(0) 推荐(0)
摘要: 1442: Neo 的简单字符串 题目描述 Neo 给你一系列字符串,请你输出字符串中的不同单词个数以及总单词个数。 Neo 给你一系列字符串,请你输出字符串中的不同单词个数以及总单词个数。 输入 多组输入,每组数据都是一行字符串(长度小于200),其中每个单词以空格隔开(单词都是小写字母组成)。 阅读全文
posted @ 2017-12-02 19:40 Veritas_des_Liberty 阅读(255) 评论(0) 推荐(0)
摘要: #include <stdio.h> /* printf, scanf, NULL */ #include <stdlib.h> /* malloc, free */ struct node { int key; struct node *left, *right, *point; }; typed 阅读全文
posted @ 2017-12-01 20:48 Veritas_des_Liberty 阅读(450) 评论(0) 推荐(0)
摘要: /*Sorting from little to large use List*/ #include <stdio.h> /* printf, scanf, NULL */ #include <stdlib.h> /* malloc, free */ struct node { int key; s 阅读全文
posted @ 2017-12-01 19:34 Veritas_des_Liberty 阅读(614) 评论(0) 推荐(0)
摘要: B. Spreadsheets time limit per test 10 seconds memory limit per test 64 megabytes input standard input output standard output In the popular spreadshe 阅读全文
posted @ 2017-12-01 16:07 Veritas_des_Liberty 阅读(723) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-12-01 08:54 Veritas_des_Liberty 阅读(255) 评论(0) 推荐(0)
摘要: List_insert mooc地址 Tips: malloc()和free()的基本概念以及基本用法: 函数原型及说明: void *malloc(long NumBytes):该函数分配了NumBytes个字节,并返回了指向这块内存的指针。如果分配失败,则返回一个空指针(NULL)。 关于分配失 阅读全文
posted @ 2017-11-30 20:11 Veritas_des_Liberty 阅读(713) 评论(0) 推荐(0)
摘要: 栈的运用 mooc视频连接 #include <iostream> using namespace std; char S[100]; int Top, Number_of_Items = 0; void Push(char c) { if ( Number_of_Items == 0 ) { To 阅读全文
posted @ 2017-11-29 13:16 Veritas_des_Liberty 阅读(383) 评论(0) 推荐(0)
摘要: #include <iostream> #include <stdio.h> using namespace std; int Q[100]; int Head, Tail, Number_of_Items = 0; void Enqueue(int x) { if( Number_of_Items 阅读全文
posted @ 2017-11-29 08:51 Veritas_des_Liberty 阅读(439) 评论(0) 推荐(0)
上一页 1 ··· 81 82 83 84 85 86 87 88 89 ··· 98 下一页