上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 树型结构是一类重要的非线性数据结构,其中二叉树较为常用。二叉树的特点的每个节点至多只有两棵子树(即二叉树中不存在大于2的节点),并且二叉树有左右子树之分。二叉树的属性: 1、二叉树有5种基本形态,(a)空二叉树 (b)仅有根节点的二叉树 (c) 右子树为空的二叉树 (d)左右子树均为非空的二叉树(e... 阅读全文
posted @ 2015-11-30 21:07 小松鼠。 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=108 阅读全文
posted @ 2015-11-30 20:32 小松鼠。 阅读(110) 评论(0) 推荐(0) 编辑
摘要: const int Max=100100;这里Max开头字母最好是大写,小写的时候DEV编译器可能不会通过。 阅读全文
posted @ 2015-11-10 19:57 小松鼠。 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=214 阅读全文
posted @ 2015-11-10 19:16 小松鼠。 阅读(95) 评论(0) 推荐(0) 编辑
摘要: #includeint main(){ int i; char a[6]; for(i=0;i<6;i++) { scanf("%c",&a[i]); getchar();//zhe ge hen zhong yao yao jia shang; } for(i=0;i<6;... 阅读全文
posted @ 2015-10-14 20:27 小松鼠。 阅读(224) 评论(0) 推荐(0) 编辑
摘要: #include#include#include//#includeusing namespace std;int main(){string s1,s2;int n;cin>>n;while(n--){cin>>s1>>s2;int m=s2.find(s1,0);int num=0;while(... 阅读全文
posted @ 2015-10-12 20:02 小松鼠。 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=32 阅读全文
posted @ 2015-09-25 20:09 小松鼠。 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Example12345678910111213141516171819202122// string::erase#include #include using namespace std;int main (){ string str ("This is an example phrase."... 阅读全文
posted @ 2015-09-23 19:33 小松鼠。 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=473 阅读全文
posted @ 2015-07-26 17:13 小松鼠。 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 地址: http://acm.nyist.net/JudgeOnline/problem.php?pid=171 阅读全文
posted @ 2015-07-04 20:33 小松鼠。 阅读(138) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页