10 2016 档案

摘要:1 //测试数据 2 //1 2 4 7 -1 -1 -1 5 -1 -1 3 -1 6 -1 -1 3 //1 2 4 11 -1 22 -1 -1 -1 5 -1 -1 3 6 -1 -1 7 -1 -1 4 5 6 #include 7 #include 8 using namespace std; 9 10 template 11 st... 阅读全文
posted @ 2016-10-31 22:39 douzujun 阅读(271) 评论(0) 推荐(0) 编辑
摘要:1 #include 2 #include 3 using namespace std; 4 5 template 6 struct BinaryNode 7 { 8 T element; 9 BinaryNode *left; 10 BinaryNode *right; 11 12 BinaryNode(cons... 阅读全文
posted @ 2016-10-29 21:31 douzujun 阅读(239) 评论(0) 推荐(0) 编辑
摘要:1 #include 2 #include 3 using namespace std; 4 5 template 6 struct BinaryNode 7 { 8 T element; 9 BinaryNode *left; 10 BinaryNode *right; 11 12 BinaryNode(cons... 阅读全文
posted @ 2016-10-23 16:09 douzujun 阅读(495) 评论(0) 推荐(0) 编辑
摘要:http://www.ruanyifeng.com/blog/2013/05/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm.html 阅读全文
posted @ 2016-10-12 10:07 douzujun 阅读(155) 评论(0) 推荐(0) 编辑
摘要:(更新过后的代码效果) 阅读全文
posted @ 2016-10-08 16:34 douzujun 阅读(2216) 评论(2) 推荐(0) 编辑
摘要:1 /* 2 8 6 3 1 1 1 1 1 1 1 1 4 1 0 0 1 0 0 1 1 5 1 1 0 0 0 0 0 1 6 1 0 0 1 0 1 0 1 7 1 0 0 0 0 0 0 1 8 1 1 1 1 1 1 1 1 9 */ 10 #include <iostream> /// 阅读全文
posted @ 2016-10-07 22:44 douzujun 阅读(356) 评论(0) 推荐(0) 编辑
摘要:源代码下载地址:链接:https://pan.baidu.com/s/12BTDR8pRMvxpKYNFb988EQ 密码:yk0o 阅读全文
posted @ 2016-10-06 16:30 douzujun 阅读(1275) 评论(0) 推荐(0) 编辑
摘要:1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 int main() 8 { 9 int n; 10 string ch; 11 cout > n; 13 while (n--) { 14 stack check; 15 ... 阅读全文
posted @ 2016-10-05 14:56 douzujun 阅读(2391) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示