
图论
文章平均质量分 87
征服所有不服
行走在西子湖畔,我是江南最尊贵的神犇。流浪在优快云,我是世间最美的情郎。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【剑指紫金港】1030 Travel Plan Dijsktra+路径筛选记录
A 1030 Travel Plan(模板题) 题目链接 Problem Description A traveler’s map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a program to help a traveler to decide the shortest path between原创 2021-01-30 13:30:23 · 113 阅读 · 0 评论 -
【剑指紫金港】1018 Public Bike Management Dijkstra+DFS
A 1018 Public Bike Management 题目链接 Problem Description There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station and return it to any other stations in the c原创 2021-01-11 13:05:52 · 111 阅读 · 0 评论 -
【剑指紫金港】1087 All Roads Lead to Rome Dijkstra+DFS
A 1087 All Roads Lead to Rome 题目链接 Problem Description Indeed there are many different tourist routes from our city to Rome. You are supposed to find your clients the route with the least cost while gaining the most happiness. Input Each input file contain原创 2021-01-11 12:42:06 · 159 阅读 · 0 评论 -
【剑指紫金港】1003 Emergency Dijkstra算法&最短路数量
A 1003 Emergency 题目链接 Problem Description As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each city and the length of each原创 2020-12-17 23:31:29 · 177 阅读 · 0 评论