摘要:
题目博客 PKU1177 Picturehdu3954 level uphdu4027 can you answer these queries?hdu3333 turing treehdu3016 man downhdu3340 rain in ACStarCF85D Sum of Medians 阅读全文
posted @ 2018-05-17 22:05
Mingoal
阅读(8)
评论(0)
推荐(0)
摘要:
题目 题解: 拓扑排序,难度挺低,但是细节很多。 其中一个注意点:c[i]即便是负数,也要进队,不然有些点入度始终大于0,更新不了 标程: #include<bits/stdc++.h> using namespace std; struct kk{ int x,y; }a[103]; struct 阅读全文
posted @ 2018-05-17 20:05
Mingoal
阅读(19)
评论(0)
推荐(0)
摘要:
题目 题解 #include<bits/stdc++.h> using namespace std; const int N=300003,M=600003; struct kk{ int u,v,lca,dis; }p[N]; struct node{ int to,ne; }e[M]; int 阅读全文
posted @ 2018-05-17 16:40
Mingoal
阅读(23)
评论(0)
推荐(0)
浙公网安备 33010602011771号