
图,最短路径等
小雪乃
这个作者很懒,什么都没留下…
展开
-
PAT 甲级 1122. Hamiltonian Cycle (25)
The “Hamilton cycle problem” is to find a simple cycle that contains every vertex in a graph. Such a cycle is called a “Hamiltonian cycle”.In this problem, you are supposed to tell if a given cycle is原创 2017-10-20 04:47:27 · 176 阅读 · 0 评论 -
PAT 甲级 1126. Eulerian Path (25)
In graph theory, an Eulerian path is a path in a graph which visits every edge exactly once. Similarly, an Eulerian circuit is an Eulerian path which starts and ends on the same vertex. They were first原创 2017-10-23 05:24:27 · 256 阅读 · 0 评论