会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Arlenmbx
度过眼前的苟且,才有诗和远方
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
22
23
24
25
26
27
28
29
30
···
53
下一页
2016年1月12日
HDU 1495 非常可乐
摘要: http://acm.hust.edu.cn/vjudge/contest/view.action?cid=103711#problem/M/*BFS简单题链接地址: http://acm.hdu.edu.cn/showproblem.php?pid=1495思路:预处理m #include#inc...
阅读全文
posted @ 2016-01-12 19:17 柳下_MBX
阅读(327)
评论(0)
推荐(0)
2015年12月21日
ja
摘要: import java.util.*;class animal{ void cry(){ } void get_animal_name(){ }}class dog extends animal{ String s1,s2; dog(String s1,String s2){ thi...
阅读全文
posted @ 2015-12-21 21:51 柳下_MBX
阅读(192)
评论(0)
推荐(0)
java78_c
摘要: import java.util.*;public class Main { public static void main(String args[]){ Scanner cin=new Scanner(System.in); while(cin.hasNext(...
阅读全文
posted @ 2015-12-21 12:46 柳下_MBX
阅读(255)
评论(0)
推荐(0)
2015年12月11日
模式串匹配,kmp
摘要: #include #include #include #include#define MAXSTRLEN 255 /* 可以在255以内定义最大串长 */typedef char SString[MAXSTRLEN + 1]; /* 0号单元存放串的长度 */void get_next(SS...
阅读全文
posted @ 2015-12-11 03:31 柳下_MBX
阅读(212)
评论(0)
推荐(0)
字符串定长顺序存储表示模板
摘要: 1 ///page71 2 ///测试样例:nihao 3 ///output 4 /*5 5 5 nihao 6 0 7 10 nihaonihao 8 4 aoni 9 4 10 14 nihaoaoninihao 11 9 noninihao 12 13 nombx...
阅读全文
posted @ 2015-12-11 03:08 柳下_MBX
阅读(370)
评论(0)
推荐(0)
顺序队列的模板
摘要: ///page61操作,非链式,顺式#include #include #include #define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2typedef ...
阅读全文
posted @ 2015-12-11 00:21 柳下_MBX
阅读(375)
评论(0)
推荐(0)
2015年12月10日
链式队列模板
摘要: #include #include #include #define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2typedef int status;typedef ...
阅读全文
posted @ 2015-12-10 23:49 柳下_MBX
阅读(343)
评论(0)
推荐(0)
链式栈模板
摘要: //stack.h#include#include#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define OVERFLOW -1#define UNDERFLOW ...
阅读全文
posted @ 2015-12-10 20:57 柳下_MBX
阅读(284)
评论(0)
推荐(0)
栈应用hanoi
摘要: /* 课本p54页*/#include#include using namespace std;void move(int n, char a, char b){ printf("Move %c to %c.\n",a,b);}void hanoi(int n, char a, char b...
阅读全文
posted @ 2015-12-10 19:11 柳下_MBX
阅读(137)
评论(0)
推荐(0)
判断出栈顺序
摘要: #include #include #include #define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2#define LIST_INIT_SIZE 100#...
阅读全文
posted @ 2015-12-10 17:28 柳下_MBX
阅读(194)
评论(0)
推荐(0)
上一页
1
···
22
23
24
25
26
27
28
29
30
···
53
下一页
公告