随笔分类 -  图论

摘要:Degree Set time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Degree Set time limit per tes 阅读全文
posted @ 2018-05-02 20:57 zhang_upstar 阅读(196) 评论(0) 推荐(0)
摘要:#include using namespace std; const int MAX_N = 100; const int MAX_M = 10000; struct edge{ int v,next; }e[MAX_N]; int p[MAX_N],eid; int init(){ memset(p,-1,sizeof(p)); eid = 0; } void insert(int ... 阅读全文
posted @ 2017-05-04 16:20 zhang_upstar 阅读(110) 评论(0) 推荐(0)