zzf12345666 @ 2023-04-12 22:10:31
单调队列,先删头再去尾还是先去尾后删头,俩个操作讲究顺序的吗?
by Xy_top @ 2023-04-12 22:16:32
@zzf12345666 先把队头退役的删掉(删头),然后统计答案,最后再用小的厉害的去单调队列老的比它弱的(删尾)