摘要:
基于刚刚说过的单调队列pop和push的规则,代码不难实现,如下: 滑窗用一个单调队列维持 同理实现acm滑窗最小 C++代码如下: #include <iostream> #include <vector> #include <deque> #include <sstream> #include 阅读全文
posted @ 2025-06-05 20:07
boluke龙
阅读(18)
评论(0)
推荐(0)
浙公网安备 33010602011771号