Openjudge:1251--丛林中的路 题解

题目 题目点击这里web 思路分析 这是一道很基础的运用图论里最小生成树解决问题的题目。 但因为本身基础不扎实加上对细节的不注意,也耽误了一段时间。数组 AC代码 注释里我会把须要注意的问题写出来svg #include<stdio.h> #include<algorithm> using namespace std; int Tree[30]; int findRoot(int x)//找根结
相关文章
相关标签/搜索