随笔分类 -  单调栈

摘要:Problem Description Once upon a time Matt went to a small town. The town was so small and narrow that he can regard the town as a pivot. There were so 阅读全文
posted @ 2019-05-15 21:16 black_hole6 阅读(298) 评论(0) 推荐(0)
摘要:Given a m-by-n (0,1)-matrix, of all its submatrices of all 1’s which is the largest? By largest we mean that the submatrix has the mos... 阅读全文
posted @ 2019-04-07 22:48 black_hole6 阅读(192) 评论(0) 推荐(0)
摘要:Bill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to studying how good or bad d... 阅读全文
posted @ 2019-03-30 17:25 black_hole6 阅读(245) 评论(0) 推荐(0)
摘要:A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may ... 阅读全文
posted @ 2018-12-10 09:43 black_hole6 阅读(114) 评论(0) 推荐(0)