摘要: 题目链接#include using namespace std;struct node{ int data; struct node *next;};int main(){ int n; struct node *head,*p; he... 阅读全文
posted @ 2018-10-02 19:26 Mercury_Lc 阅读(163) 评论(0) 推荐(0)
摘要: 题目链接#include using namespace std;struct node{ int data; struct node *next;};int main(){ int n; struct node *head,*p; he... 阅读全文
posted @ 2018-10-02 19:22 Mercury_Lc 阅读(170) 评论(0) 推荐(0)
摘要: Problem Description输入N个整数,按照输入的顺序建立单链表存储,并遍历所建立的单链表,输出这些数据。Input第一行输入整数的个数N;第二行依次输入每个整数。Output输出这组整数。Sample Input8 12 56 4 6 55 15 33 ... 阅读全文
posted @ 2018-10-02 19:16 Mercury_Lc 阅读(326) 评论(0) 推荐(0)