Stay Hungry,Stay Foolish!

摘要: C - Loong Tracking 题目传送门 https://atcoder.jp/contests/abc335/tasks/abc335_c 思路 贪吃蛇,头部不断更新, 原来的头部会变成颈部,颈部变成胸膛,..., 原来的尾部删除。 采用双端队列, 头部 根据 头部做更新 尾部删除。 Co 阅读全文
posted @ 2024-01-07 17:56 lightsong 阅读(25) 评论(0) 推荐(0) 编辑
Life Is Short, We Need Ship To Travel