链表
建立动态链表:#include <bits/stdc++.h> using namespace std;typedef long long ll;int n;struct student{ ll num;};int main(){ struct student *head, *p, *q, *t; ll a; cin >> n;//一共n个学生 head = NULL; for (int i = 1; i <= n; ++i){ cin &g
原创
2021-02-26 15:22:50 ·
81 阅读 ·
0 评论