0 赞
题解:AT_abc389_c [ABC389C] Snake Queue
题目传送门:[[ABC389C] Snake Queue](https://www.luogu.com.cn/problem/AT_abc389_c) 前置知识 前缀和 题目简述 有一条空的蛇队列,操作为 1 时从队列尾部加入新蛇,操作为 2 时将开头的蛇弹出,操作为 3 时输出…
题解
存档题解 1 篇按获赞排序
在洛谷打开题目传送门:[[ABC389C] Snake Queue](https://www.luogu.com.cn/problem/AT_abc389_c) 前置知识 前缀和 题目简述 有一条空的蛇队列,操作为 1 时从队列尾部加入新蛇,操作为 2 时将开头的蛇弹出,操作为 3 时输出…