Tony's Log

Algorithms, Distributed System, Machine Learning

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

06 2014 档案

摘要:http://hi.baidu.com/zldiablo/item/32f3e614de94f48d88a9560dNot very easy to identify the dp recurrence relation at first sight.. but strip your artific... 阅读全文
posted @ 2014-06-30 13:16 Tonix 阅读(168) 评论(0) 推荐(0)

摘要:A classic 2D DP problem. A disguise of LCS - actually not very hard to decode: it is about 2 sequences' matching, though with a weight value of each m... 阅读全文
posted @ 2014-06-28 14:24 Tonix 阅读(185) 评论(0) 推荐(0)

摘要:Looks quite intuitive at the very first sight... I thought:rect[x, y, w+1, h+1] = rect[x, y, w, h] + num[x + w + 1, y..y+h+1] + num[x..x+w+1, y+h+1] -... 阅读全文
posted @ 2014-06-25 14:19 Tonix 阅读(202) 评论(0) 推荐(0)

摘要:I can feel that I am making great progress now.. if inspected closely, it is obvious that what I'm getting through is, a newbie phase:coding details m... 阅读全文
posted @ 2014-06-24 14:29 Tonix 阅读(114) 评论(0) 推荐(0)

摘要:A bottom-up DP. To be honest, it is not easy to relate DP to this problem. Maybe, all "most"\"least" problems can be solved using DP..Reference:http:/... 阅读全文
posted @ 2014-06-24 14:22 Tonix 阅读(182) 评论(0) 推荐(0)

摘要:I used DP instead of Greedy. But got WA on PoJ, though it passed all web-searched cases. Maybe I have to use Greedy.BTW: a careless modification intro... 阅读全文
posted @ 2014-06-23 13:14 Tonix 阅读(232) 评论(0) 推荐(0)

摘要:(poj.org issue. Not submitted yet)This is a 2D DP problem, very classic too. Since I'm just learning, so I took this link as reference:http://blog.csd... 阅读全文
posted @ 2014-06-23 07:01 Tonix 阅读(165) 评论(0) 推荐(0)

摘要:Hi, I'm back.This is a realy classic DP problem to code.1. You have to be crystal clear about what you are going to solve.2. Apparently there are 2 DP... 阅读全文
posted @ 2014-06-17 15:47 Tonix 阅读(139) 评论(0) 推荐(0)