- 博客(2)
- 收藏
- 关注
转载 链表板子(指针版,数组版,STL版)
指针版: 用到malloc动态开组,平时做项目可以用,打比赛算了 #include <stdio.h> #include <stdlib.h> #include<iostream> using namespace std; struct list{ int num; struct list *next; }; struct list* p; struct list* pm;//head typedef struct list list_single...
2022-05-12 23:29:36
175
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人