会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
智人心
博客园
首页
新随笔
联系
订阅
管理
2021年8月12日
poj 1094(拓扑排序,三种情况:1正好排好,2正好有环,3到最后也没排好,也没有环,多重解)
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int n,flag,edge[30][30],indegree[30],indgr_tmp[30],ans[30]; void topo(){ in
阅读全文
posted @ 2021-08-12 20:49 智人心
阅读(37)
评论(0)
推荐(0)
公告