洛谷 P1160 队列安排(双向链表)

题目连接:https://www.luogu.org/problemnew/show/P1160 题意:对数组进行插入删除操做,很用以就想到用链表。 本人习惯用数组模拟链表;代码以下:ios #include <iostream> #include <cstdio> #include <cmath> #include <cstring> #include <algorithm> using nam
相关文章
相关标签/搜索