摘要: 题目 题目不难, 就是麻烦点 代码 #include <bits/stdc++.h> using namespace std; struct node//输入结点 { int id,fid,mid; int c[6]; int anum; int area; }v[10010]; struct An 阅读全文
posted @ 2021-11-24 21:02 kingwzun 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 题意 简单拓扑排序查找是否成环。 代码 #include <bits/stdc++.h> using namespace std; int dis[105][105], ru[105]; int n; void Tsort(){ int cnt=0; int flag=1; while(flag){ 阅读全文
posted @ 2021-11-24 20:00 kingwzun 阅读(147) 评论(0) 推荐(0) 编辑