#include <stdio.h> #include <stdlib.h> typedef struct ListNode { int m_nKey; struct ListNode* m_pNext; }ListNode; int main() { int n,i; while (scanf("%d",&n) != EOF) { // 注意 while 处理多个 case ListNode *phead,*pbuf,*pnew; phead = (ListNode *)malloc(sizeof(Lis...