- 博客(54)
- 收藏
- 关注
原创 贪心算法课本练习
第1关:单源最短路径问题 #include<iostream>#include<sstream>#include<string>using namespace std;#define maxint 9999template<class Type>void Dijkstra(int n,int v,Type dist[],int prev[],Type c[][6]){ bool s[maxint]; for(int i = 1
2023-11-26 21:25:40
244
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人