【UVALive】6776 2014WorldFinal G Metal Processing Plant【2-sat——bitset优化kosaraju求scc】
题目链接:MetalProcessingPlantbitset优化kosaraju,复杂度O(n^2/64),总复杂度O(n^4/64)。#includeusingnamespacestd;typedeflonglongLL;typedefpairpii;typedefunsignedlonglongULL;#defineclr(a,x)memset(a,x,sizeofa)constintMAX