POJ-1797 Heavy Transportation(最大生成树)
摘要:Heavy Transportation Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 72916 Accepted: 17871 Description BackgroundHugo Heavy is happy. After
阅读全文
posted @
2021-03-30 00:48
珍珠鸟
阅读(45)
推荐(0) 编辑
POJ-2253 Frogger(floyd)
摘要:Frogger Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 83767 Accepted: 25363 Description Freddy Frog is sitting on a stone in the middle o
阅读全文
posted @
2021-03-13 12:54
珍珠鸟
阅读(64)
推荐(0) 编辑
POJ-2387 Til the Cows Come Home(SPFA)
摘要:Til the Cows Come Home Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 112322 Accepted: 36010 Description Bessie is out in the field and wa
阅读全文
posted @
2021-03-12 20:05
珍珠鸟
阅读(55)
推荐(0) 编辑
UVA-11624 Fire(BFS)
摘要:网格图里的问题首先想到BFS!!! 这里相当于一个在跑一个在追,所以要做两遍BFS 然后就是各种细节坑,建议多组数据的时候每新开一个变量的时候都要记住初始化 1 #include <cstdio> 2 #include <cmath> 3 #include <cstring> 4 #include
阅读全文
posted @
2021-03-12 00:10
珍珠鸟
阅读(49)
推荐(0) 编辑
FZU-2150 Fire Game(BFS)
摘要:Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this board is con
阅读全文
posted @
2021-03-06 01:38
珍珠鸟
阅读(58)
推荐(0) 编辑