自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 析取范式和合取范式基本操作代码

#include <iostream> #include <math.h> using namespace std; void shuru(char *p,int s); void shuchu(char *p,int s); void panduan(int s,int p,char *a,char b); void shizi(char *p,int s); void ...

2018-12-10 21:41:40 3062 1

原创 数组的交并差代码

#include<iostream> using namespace std;     int x,y; int Del(int a[],int n,int b[]) {     for(int i=0;i<n;i++)     {         if(a[i]==a[i+1])         {             a[i]=-1;         }     }   ...

2018-12-10 21:40:44 303

原创 删除重复元素的操作代码

#include<iostream> using namespace std; int Del(int a[],int n,int b[]) {     for(int i=0;i<n;i++)     {         if(a[i]==a[i+1])         {             a[i]=-1;         }     }     int j=0;   ...

2018-12-10 21:40:08 318

原创 顺序表的基本操作代码实现

#include<iostream> #include<malloc.h> #include<stdlib.h> #define LIST_INIT_SIZE 100 #define LISTINCREMENT 10 #define ERROR 0 #define OK 1  using namespace std; typedef struct{     in...

2018-12-10 21:39:13 4462

原创 链队列的基本操作

#include<iostream> #include<stdlib.h> #define ERROR 0  #define OK 1  using namespace std; struct Node{     int data;     Node *next; }; typedef Node* que; typedef struct{     que front;   ...

2018-12-10 21:38:32 313

原创 栈的基本操作

#include<iostream> #include<stdlib.h> #define ERROR 0  #define OK 1 #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 using namespace std; typedef struct{     int *base;     int *top;...

2018-12-10 21:38:05 147

原创 链表的基本操作

#include<iostream> #include<malloc.h> #include<stdlib.h> using namespace std; struct node{     int data;     node* next; }; typedef node* lklist; typedef node* pointer; lklist Creat...

2018-12-10 21:37:30 186

原创 数据结构矩阵的基本操作

#include<iostream> #include<stdlib.h> using namespace std; #define MAXSIZE 12500 typedef struct{     int i,j;     int e; }Triple; typedef struct{     Triple data[MAXSIZE+1];     int hang,l...

2018-12-10 21:36:54 995

原创 Huffmantree代码

#include<iostream> #include<stdlib.h> #include<string.h> using namespace std; typedef  struct  {     int weight;     int parent;     int lchild;     int rchild; }HTNode,*HuffmanTree;...

2018-12-10 21:35:33 511

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除