摘要: #include<iostream> using namespace std; void printList(ListNode *head) { ListNode *p=head; while(p != NULL) { cout << p->num << endl; p = p->next; } } 阅读全文
posted @ 2021-03-11 21:43 bear_xin 阅读(99) 评论(0) 推荐(0)