摘要:
#include<stdlib.h> #include<stdio.h> //定义结构体 typedef struct Node { int data; struct Node* link; }Node,*List; //创建链表函数 void CreateList(List L, int k) { 阅读全文
posted @ 2021-09-23 22:58
磐正
阅读(63)
评论(0)
推荐(0)
摘要:
#include<stdio.h> void MergeSort(int* pa,int* pb) { int arr[12]; int a,b,i; a=b=0; for(i=0;i<12&&a<6&&b<6;i++) { if(*(pa+a)<=*(pb+b)) { arr[i]=*(pa+a) 阅读全文
posted @ 2021-09-23 21:39
磐正
阅读(11)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<stdlib.h> typedef struct Node { int data; struct Node* next; }Node, *List; //遍历链表函数 void outputValue(List L) { Node* node=L 阅读全文
posted @ 2021-09-23 00:01
磐正
阅读(17)
评论(0)
推荐(0)

浙公网安备 33010602011771号