- 博客(7)
- 资源 (2)
- 收藏
- 关注
原创 快排与二分查找
#include <cstdio>#include <cstdlib>#include <cstring>#include <iostream>#define N 1000#define ElemType intusing namespace std;/*Created by HarvestWu on 2018.5.24.*/...
2018-05-24 11:09:57 204
原创 C++ 实现链栈
#include <stdio.h> #include <string> #include <stdlib.h> #include <iostream> #include <stack> using namespace std;/*Created by HarvestWu on 2018/5/7.*///链栈...
2018-05-07 23:05:47 1278 1
原创 Beautiful Land(01背包问题另解)
链接:https://www.nowcoder.com/acm/contest/119/F来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld题目描述It’s universally acknowledged that there’re innumerable trees in the camp...
2018-05-06 21:06:17 181
原创 C++ 实现顺序栈
#include <stdio.h>#include <string>#include <stdlib.h>#include <iostream>#include <stack>#define maxSize 100using namespace std;/*Created by HarvestWu on 2018/5/...
2018-05-04 22:28:47 467
原创 C++ 栈计算后缀表达式的值
示例按照只有一位数的数值设计,可用分隔符来处理后,广义化。#include <stdio.h>#include <string>#include <stdlib.h>#include <iostream>#include <stack>using namespace std;/*Created by HarvestWu o...
2018-05-04 21:21:30 2000
原创 C++ 栈实现表达式括号匹配检测
#include <stdio.h>#include <string>#include <stdlib.h>#include <iostream>#include <stack>using namespace std;/*Created by HarvestWu on 2018/5/4.*/int match(char...
2018-05-04 21:01:56 1147 1
原创 PAT Shuffling Machine(20 分)(题解)
题意很简单,就是按照给定的序列order[],将第i个位置的牌移到第order[i]位置.注意多次洗牌需要保留上次的顺序基础上进行,不能破坏。#include <stdio.h>#include <math.h>#include <iostream>#include <string.h>/*Created by HarvestWu on 2...
2018-05-01 00:11:03 183
spring-data-commons-1.8.2.RELEASE.jar
2017-09-26
spring-data-redis-1.7.2.RELEASE.jar
2017-09-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人