
拓扑排序
Cherry_0525
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【拓扑排序+dfs】Frame Stacking POJ - 1128
Frame Stacking POJ - 1128 Consider the following 5 picture frames placed on an 9 x 8 array. ........ ........ ........ ........ .CCC.... EEEEEE.. ........ ........ ..BBBB.. .C.C.... E....E.. DD...原创 2019-04-15 16:25:57 · 207 阅读 · 0 评论 -
【拓扑排序】 ZOJ - 3780 Paint the Grid Again
ZOJ - 3780 Paint the Grid Again #include <bits/stdc++.h> using namespace std; int n,m; char a[45][45]; int b[45][45],walk[4][2]= {{0,1},{0,-1},{1,0},{-1,0}}; int col[45][45],vis[1605],color...原创 2019-04-15 17:23:38 · 501 阅读 · 0 评论 -
【拓扑排序】E - Paint the Grid Again ZOJ - 3780 11th浙江省赛
E - Paint the Grid Again ZOJ - 3780 Leo has a grid withN×Ncells. He wants to paint each cell with a specific color (either black or white). Leo has a magical brush which can paint any row with ...原创 2019-04-12 20:50:02 · 199 阅读 · 0 评论