摘要:
直接floyd..-----------------------------------------------------------------------#include#include#include#include#include#define rep( i , n ) for( int ... 阅读全文
摘要:
dp , dp[ i ][ j ] = max( dp[ k ][ j - 1 ] ) + G[ i ][ j ] ( i - 1 0 )一开始没注意到要 dp[ k ][ j - 1 ] > 0 才能取 , 然后就WA 了2次...--------------------------------... 阅读全文
摘要:
从左往右,从右往左 扫两遍,单调栈维护...----------------------------------------------------------------------#include#include#include#include#include#define rep( i , n... 阅读全文
摘要:
MST...一开始没注意-1结果就WA了...----------------------------------------------------------------------------#include#include#include#include#include#include#de... 阅读全文
摘要:
背包dp..--------------------------------------------------------------------------------#include#include#include#include#define rep( i , n ) for( int i ... 阅读全文