上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 53 下一页
摘要: 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 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(202) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(203) 评论(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 阅读(360) 评论(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 阅读(368) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(314) 评论(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 阅读(275) 评论(0) 推荐(0) 编辑
摘要: /* 课本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 阅读(130) 评论(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 阅读(184) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 53 下一页