数据结构学习
qq_44719402
这个作者很懒,什么都没留下…
展开
-
BP算法
#define _CRT_SECURE_NO_WARNINGS #include "string.h" #include "stdio.h" /*BP算法的实现 *@auther:ck */ /*函数声明*/ int Index(char *Buffer, char *buffer, int pos,int Count); int Strlen(char *Buffer); /*main*/ vo...原创 2020-02-28 16:17:38 · 213 阅读 · 0 评论 -
列表项插入、删除及查找算法
#include <iostream> using namespace std; /*函数定义 */ typedef int ElemType; #define True 1 #define False 0 #define MAX_SIZE 20 typedef bool Type; typedef struct { ElemType *elem;//...原创 2020-02-27 11:18:12 · 190 阅读 · 0 评论 -
单向链表插入、删除及查找算法
#include <stdio.h> #include <stdlib.h> #include <time.h> /*宏定义 */ #define True 1 #define False 0 typedef int Status; typedef int ElemType; typedef struct Lnode { ElemType dat...原创 2020-02-27 11:11:47 · 413 阅读 · 0 评论 -
已知一个无符号任意进制整数N,写一算法,依次输出其对应任意进制数的各位数字
在这里插入代码片 #define _CRT_SECURE_NO_DEPRECATE #include #include <stdio.h> using namespace std; /*将任意进制数转换为各进制数并打印 *@auther:CK */ /*宏定义 */ typedef char SElemType; typedef struct { SElemType *base;...原创 2020-02-27 11:06:48 · 617 阅读 · 0 评论