摘要:
#include <stdio.h>struct node{ int val; node* next;};typedef node* list_node;list_node create(int n ){ list_node head , temp ,pre; head = new node; pre = head; while ( n -- ) { temp = new node; scanf("%d" , &temp->val); pre->next = temp; pre = temp; ... 阅读全文