#include <stdio.h> #include <stdlib.h> #include <assert.h> typedef struct list { int date; struct list* next; }L; L* SLTBuyNode(int x) { L* newnode = (L*)malloc(sizeof(L)); if (newnode == NULL) { perror("malloc fail!"); exit(1); } newnode->date = x; newnode->next = ...