摘要:
BFS...---------------------------------------------------------------------------------------#include#include#include#include#include#define rep( i , ... 阅读全文
posted @ 2015-06-08 17:24
JSZX11556
阅读(205)
评论(0)
推荐(0)
摘要:
状压dpdp( x , S ) 表示最后一个是 x , 当前选的奶牛集合为 S , 则状态转移方程 : dp( x , S ) = Σ dp( i , S - { i } ) ( i ∈ S , abs( h[ i ] - h[ x ] ) > k )-----------------------... 阅读全文
posted @ 2015-06-08 16:37
JSZX11556
阅读(218)
评论(0)
推荐(0)
摘要:
QAQ我没读过书...四边形都不会判定了简单的dp....------------------------------------------------------------------------------#include#include#include#include#define rep... 阅读全文
posted @ 2015-06-08 09:15
JSZX11556
阅读(236)
评论(0)
推荐(0)
摘要:
dp乱搞即可...( 我就是这样 A 的..后来想改快一点..然后就WA了...不理了------------------------------------------------------------------------------------------#include#include#... 阅读全文
posted @ 2015-06-08 08:58
JSZX11556
阅读(205)
评论(0)
推荐(0)