首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
usaco5.3专题
洛谷 2746 POJ 1236 SSL 1920 [USACO5.3] 校园网 Network of Schools#tarjan#
题目以及kosaraju的做法 分析 这里采用tarjan的方法,具体详见受欢迎的牛 代码 #include <cstdio>#include <algorithm>#include <stack>using namespace std;struct node{int x,y,next;}e[3001]; stack<int>uk; bool v[101]; int ind
阅读更多...