会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
墨鳌
算法+数据结构=整个世界
博客园
首页
新随笔
联系
订阅
管理
2020年3月11日
C++-POJ1094-Sorting It All Out[拓扑排序][邻接矩阵]
摘要: 1 #include<cstdio> 2 #include<cstring> 3 int map[27][27],indegree[27],q[27]; 4 int TopoSort(int n){ 5 int t=0,temp[27],p,m,flag=1; //flag=1:有序 flag=-1
阅读全文
posted @ 2020-03-11 17:47 墨鳌
阅读(157)
评论(0)
推荐(0)
编辑
公告