上一页 1 2 3 4 5 6 ··· 9 下一页
  2015年1月28日
摘要: #include #include void swap(int *a,int *b){ int t; t=*a; *a=*b; *b=t;}int main(){ int n,i,j,k; int a[10][10],b[10]; while(scanf("... 阅读全文
posted @ 2015-01-28 11:19 赛亚人 阅读(80) 评论(0) 推荐(0) 编辑
摘要: #include #include #include typedef struct IP{ int a; int b; int c; int d;}IP;typedef struct S{ int len; IP source; IP destination... 阅读全文
posted @ 2015-01-28 10:48 赛亚人 阅读(154) 评论(0) 推荐(0) 编辑
  2015年1月27日
摘要: 这道题目我测试了好多次都没问题,但是就是无法AC,十分愤怒。我编程习惯十分差,谁要是发现Bug。求指点!#include #include #include typedef struct SString{ char e[200];}SString;typedef struct IP{ i... 阅读全文
posted @ 2015-01-27 23:26 赛亚人 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include #include int c[10][10];void Chengji(int **a,int n,int k){ int **b; int x,y,z,t; b=(int **)malloc(n*sizeof(int *)); for(x=0;x<n;x+... 阅读全文
posted @ 2015-01-27 19:35 赛亚人 阅读(115) 评论(0) 推荐(0) 编辑
摘要: #include #include void Reverse(int n){ if(n==0) printf("0"); else if(n==1) printf("1"); else { Reverse(n>>1); ... 阅读全文
posted @ 2015-01-27 15:40 赛亚人 阅读(117) 评论(0) 推荐(0) 编辑
摘要: #include #include typedef struct BiTNode{ int data; struct BiTNode *lchild,*rchild;}BiTNode,*BiTree;int main(){ int n,t,i; int a[100]={0};... 阅读全文
posted @ 2015-01-27 15:25 赛亚人 阅读(122) 评论(0) 推荐(0) 编辑
摘要: #include #include typedef struct BiNode{ char data; struct BiNode *lchild,*rchild;}BiNode,*BiTree;void CreateTree(BiTree *T)//输入有技巧!!{ char c... 阅读全文
posted @ 2015-01-27 12:12 赛亚人 阅读(182) 评论(0) 推荐(0) 编辑
摘要: #include #include #define Num 125typedef struct Triple{ int i,j; int e;}Triple;typedef struct TS{ Triple data[Num]; int mu,nu,tu;}TS;void ... 阅读全文
posted @ 2015-01-27 10:17 赛亚人 阅读(340) 评论(0) 推荐(1) 编辑
  2015年1月26日
摘要: #include #include #define M 10#define N 4int main(){ int a[M]={1,2,3,4,5,6,7,8,9,10}; int b[M]={1,1,1,1,1,1,1,1,1,1}; int c[N][N],d[N][N]; ... 阅读全文
posted @ 2015-01-26 21:31 赛亚人 阅读(531) 评论(0) 推荐(1) 编辑
摘要: #include #include #define Num 255typedef struct String{ char ch[Num]; int len;}String;void StrAssign(String *T,char *s){ int i=0; while(s[... 阅读全文
posted @ 2015-01-26 20:58 赛亚人 阅读(172) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页