单调栈
h_lizeming
这个作者很懒,什么都没留下…
展开
-
E - A Famous City SPOJ - CITY2 (单调栈)
After Mr. B arrived in Warsaw, he was shocked by the skyscrapers and took several photos. But now when he looks at these photos, he finds in surprise that he isn't even able to point out the number of...原创 2018-08-13 09:46:41 · 208 阅读 · 0 评论 -
C - DIFERENCIJA SPOJ - DIFERENC (单调栈)
Mirko discovered what Slavko did in previous task, and decided to deal with something completely opposite to tables of letters: sequences of numbers. Let’s define a value of a sequence as the diff...原创 2018-08-13 09:53:08 · 299 阅读 · 0 评论