struct Node{ // 自己加数据吧 struct Node * next;};unsigned int LENGTH(Node* L){ unsigned int length = 0; while (L) { L = L->next; ++length; } return length;}