摘要: 先预处理出有多少个任务即可 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int maxn = 1005; 8 const int maxm = 1000005; 9 struct Edge{10 int u,v,next;11 }edge[ maxm ];12 int cnt ,head[ maxn ];13 void init(){14 cnt = 0;15 memset( head,-1,sizeof( head ) );16 }17 vo... 阅读全文
posted @ 2013-10-04 17:25 xxx0624 阅读(225) 评论(0) 推荐(0) 编辑