北京大学OJ
文章平均质量分 90
北京大学poj的题目题解
落雪幻念
ACM退役云玩家。
展开
-
POJ-The Unique MST
The Unique MST题目描述Given a connected undirected graph, tell if its minimum spanning tree is unique.Definition 1 (Spanning Tree): Consider a connected, undirected graph G = (V, E). A spanning tree of G is a subgraph of G, say T = (V’, E’), with the follo原创 2021-11-06 01:23:00 · 150 阅读 · 0 评论 -
POJ-Hotel
Hotel题目描述The cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superior. Bessie, ever the competent travel agent, has named the Bullmoose Hotel on famed Cumberland Street as t原创 2021-08-18 16:57:51 · 148 阅读 · 0 评论 -
POJ-Dungeon Master(bfs)
除了自己,任何人都无法给你力量。没有口水与汗水,就没有成功的泪水。POJ-Dungeon Master题目描述You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled ...原创 2020-03-29 13:25:30 · 188 阅读 · 0 评论 -
POJ-Catch That Cow
山再高,往上爬,总能登顶;路再长,走下去,定能到达。POJ-Catch That Cow题目描述Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a n...原创 2020-03-24 11:08:02 · 159 阅读 · 0 评论