摘要: #include <stdio.h> #include <string.h> #include <stdlib.h> #define LIST_INIT_SIZE 10 #define LISTINCREMENT 100 #define STACK_INIT_SIZE 100 #define STA 阅读全文
posted @ 2017-01-02 22:06 一根咸鱼干 阅读(106) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #define LIST_INIT_SIZE 10 #define LISTINCREMENT 100 #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #defi 阅读全文
posted @ 2017-01-02 22:03 一根咸鱼干 阅读(364) 评论(0) 推荐(0) 编辑
摘要: #include<cstdio> #include<iostream> #include<string> #include<cstring> #include<algorithm> #include<queue> using namespace std; void getnext(char *t, 阅读全文
posted @ 2017-01-02 21:55 一根咸鱼干 阅读(90) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cstdio> #include <malloc.h> #define LIST_INIT_SIZE 10 #define LISTINCREMENT 100 #define TRUE 1 #define FALSE 0 #define O 阅读全文
posted @ 2017-01-02 21:48 一根咸鱼干 阅读(386) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #define LIST_INIT_SIZE 10 #define LISTINCREMENT 100 #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #defi 阅读全文
posted @ 2017-01-02 21:34 一根咸鱼干 阅读(135) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #define LIST_INIT_SIZE 10 #define LISTINCREMENT 100 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 阅读全文
posted @ 2017-01-02 21:31 一根咸鱼干 阅读(149) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <algorithm> #include <cstdio> using namespace std; int main() { int n=0; int a[50]= {0}; int b[50][50]= {0}; int sum =0,x 阅读全文
posted @ 2016-09-02 14:22 一根咸鱼干 阅读(114) 评论(0) 推荐(0) 编辑
摘要: #include <cstdio> #include <algorithm> using namespace std; int a[1005], n, temp, maxk; int main() { scanf("%d", &n); for(int i = 0; i < n; i++) { sca 阅读全文
posted @ 2016-06-20 08:43 一根咸鱼干 阅读(105) 评论(0) 推荐(0) 编辑
摘要: #include <cstdio> #include <cstring> #include <iostream> #include <algorithm> #include <queue> #include <string> using namespace std; int h[12][12],v[ 阅读全文
posted @ 2016-06-11 20:46 一根咸鱼干 阅读(55) 评论(0) 推荐(0) 编辑
摘要: Description We have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of t 阅读全文
posted @ 2016-06-10 10:48 一根咸鱼干 阅读(81) 评论(0) 推荐(0) 编辑