摘要: 题目传送门: https://www.luogu.com.cn/problem/P1160 来说一下本题要用的东西。 list<int> a;定义int类链表。a.size():链表长度。a.push_front(x),a.push_back(x):在链表前/后加入x。a.insert(it,x): 阅读全文
posted @ 2022-07-10 21:32 is_land 阅读(109) 评论(0) 推荐(0)