某远古题解
(可简化成这个,方便大佬观看,非公开题解,勿喷)
我代码中这一段:
if(i>=n){ if(s[q.front()]-s[i-n]>=0) ans++; }
条件s[q.front()]-s[i-n]>=0看不懂,求指教,玄关,谢谢!
s[q.front()]-s[i-n]>=0