6/18/2011

[ACM] Q836: Largest Submatrix

題目: http://203.64.52.212/~ACM/q836.htm

想法:累加 + stack
           其實DP已經比較像背景方法了
           主要是用stack來球最大矩形

P.S 最近code寫很髒, 再來整理整理

Code: https://ideone.com/HCVkI

@txs

沒有留言:

張貼留言