单调队列
童话ing
放弃不难,但坚持一定很酷。
展开
-
SPOJ DRUIDEOI (单调栈)
Description Druid (AKA Amr Alaa El-Deen) and little EOIers have finished their training and they are playing "Fatta7y ya warda!". It's a kids game when everyone holds hands with two other k原创 2017-02-16 11:28:38 · 387 阅读 · 0 评论 -
hdu3530单调队列
There is a sequence of integers. Your task is to find the longest subsequence that satisfies the following condition: the difference between the maximum element and the minimum element of the subseque原创 2017-01-18 11:39:44 · 557 阅读 · 0 评论
分享