摘要: 题目链接:http://www.patest.cn/contests/mooc-ds 【打印沙漏】 #include #include #include using namespace std;int num[1000];int main(){ num[1]=1; int sum=0; int... 阅读全文
posted @ 2015-08-07 22:01 编程菌 阅读(451) 评论(0) 推荐(0) 编辑
摘要: typedef int ElemType; C版本 【递归版本】 int binSearch2(ElemType List[] ,int x,int head,int tail){ //递归版本 while(headx){ return binSearch2(List,x,hea... 阅读全文
posted @ 2015-08-07 11:42 编程菌 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1238 Substrings Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)... 阅读全文
posted @ 2015-08-07 10:36 编程菌 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=1885 Key Task Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) ... 阅读全文
posted @ 2015-08-07 09:26 编程菌 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1429 胜利大逃亡(续) Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) T... 阅读全文
posted @ 2015-08-07 08:44 编程菌 阅读(160) 评论(0) 推荐(0) 编辑