链表
有序链表的归并
#include<stdio.h>
#include<stdlib.h>
struct node
{
int date;
struct node *next;
} *head1, *head2, *p, *q, *tail;
int main()
{
int m, n;
scanf("%d%d", &m, &n);
head1 = (struct node *)malloc(sizeof(struct node)
原创
2021-01-01 10:43:16 ·
58 阅读 ·
0 评论