bitset
poursoul
这个作者很懒,什么都没留下…
展开
-
【BZOJ】4643 卡常大水题【bitset优化bfs】
题目链接:卡常大水题#include <bits/stdc++.h> using namespace std ;typedef long long LL ; typedef pair < int , int > pii ; typedef unsigned int UI ;#define clr( a , x ) memset ( a , x , sizeof a )const int MAXN =原创 2016-10-26 17:41:33 · 1200 阅读 · 0 评论 -
【UVALive】6776 2014WorldFinal G Metal Processing Plant【2-sat——bitset优化kosaraju求scc】
题目链接:Metal Processing Plantbitset优化kosaraju,复杂度O(n^2/64),总复杂度O(n^4/64)。#include <bits/stdc++.h> using namespace std ;typedef long long LL ; typedef pair < int , int > pii ; typedef unsigned long long U原创 2016-10-27 19:05:02 · 918 阅读 · 0 评论
分享