- 博客(10)
- 资源 (4)
- 收藏
- 关注
原创 2017年山东省机器人比赛 双足竟步 arduino源代码(删去了关键步态程序 gongneng1 和 gongneng2)
/* write by qingtai jiang leftleg.write(95); leftfoot.write(100); rightleg.write(80); rightfoot.write(64); delay(s); //状态1 初始角度 #define aa 88 //舵机初始角度 左上 舵机 #define bb 89 // 左下
2017-10-31 16:54:33 1902 1
原创 数据结构 栈
#include #include typedef struct { int *base; int *top; int stacksize; }sqstack; int Make_stack(sqstack &s) //初始化空栈 { s.base=(int *)malloc(100*sizeof(int)); if(!s.base) { return 0; } s.to
2017-10-30 22:03:36 268
原创 链表 归并
#include #include typedef struct node { int date; struct node *next; }node,*lnode; void createlist(lnode &l,int n); //在链表 后边不断插入正序插入链表 void createlist2(lnode &l,int n); //在链表 前
2017-10-24 17:29:49 633
原创 重学数据结构 链表(工程文件)算法2.8 2.9 2.10 2.11
link.h typedef int ElemType; typedef int Status; typedef struct LNode { ElemType data; LNode *next; }*LinkList; void CreateList(LinkList &L,int n) ; void CreateList2(LinkList &L,int n
2017-10-18 21:50:56 603
原创 重学数据结构 链表增删
#include #include typedef struct node { int date; struct node *next; }node,*lnode; void createlist(lnode &l,int n); //在链表 后边不断插入正序插入链表 void createlist2(lnode &l,int n); //在链表 前边一位不断插入节点 void display
2017-10-18 21:46:34 187
原创 重学数据结构 简单链表 倒叙,正序插入、常规显示、递归显示
#include #include typedef struct node { int date; struct node *next; }node,*lnode; void createlist(lnode &l,int n); //在链表 后边不断插入正序插入链表 //在链表 前边一位不断插入节点 void disp
2017-10-18 17:24:55 372
原创 重学数据结构 并归 算法2.6
#include #include #include typedef struct list { int *elem; int nowlength; int nowsize; }list; int addlist(list &l);//创建表 int inlist(list &l,int i,int e);//添加 int deletelist(list &l,int i);//删除 voi
2017-10-17 17:30:52 235
原创 重学数据结构 完整顺序表(工程文件)
line.h typedef int Status; // Status是函数的类型,其值是函数结果状态代码,如OK等 typedef int ElemType; typedef struct SqList { ElemType *elem; // 存储空间基址 int length; // 当前长度 int listsize; // 当前分配的存储容量(以sizeof
2017-10-17 16:40:11 227
原创 重学数据结构 顺序表的添加 删除 算法2.4和2.5
#include #include #include #include typedef struct list { int *elem; int nowlength; int nowsize; }list; int addlist(list &l);//创建表 int inlist(list &l,int i,int e);//添加 int deletelist(list &l,int i)
2017-10-17 16:39:02 338
原创 重学数据结构 将Lb中纯在但不在La中的数据元素插入到La中
#include #include int main() { char La[200],Lb[200]; int lena,lenb,flag,count; scanf("%s",La); scanf("%s",Lb); lena=strlen(La); count=lena; lenb=strlen(Lb); flag=0; for(int i = 0;i < lenb;i++
2017-10-14 21:25:19 1198
百度充电桩故障分类(数据)+提交数据(acc=1)
2018-06-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人