摘要:
最小割....---------------------------------------------------------------------------------#include#include#include#include#include#define rep( i , n ) f... 阅读全文
摘要:
dp.. dp[ i ] = max( dp[ j ] + 1 )----------------------------------------------------------------------------#include#include#include#include#include#... 阅读全文
摘要:
很水的dp...但是好像不可以用滚动数组....一开始用了滚动数组就无限WA.. T T------------------------------------------------------------------------------------#include #include #inc... 阅读全文
摘要:
tarjan缩点后, 有且仅有一个出度为0的强连通分量即answer, 否则无解--------------------------------------------------------------------------#include#include#include#include#inc... 阅读全文
摘要:
n只有2000,直接DFS就可以过了...--------------------------------------------------------------------------#include#include#include#include#include#define rep( i,... 阅读全文