ACM-ICPC 2018 沈阳赛区网络预赛D-Made In Heave(A*+SPFA求第K最短路)

ACM-ICPC 2018 沈阳赛区网络预赛(D-Made In Heaven)A*+SPFA求第K最短路 One day in the jail, F·F invites Jolyne Kujo (JOJO in brief) to play tennis with her. However,...

2018-09-10 11:01:51

阅读数 57

评论数 0

Dice HDU - 5012(bfs)

Dice HDU - 5012 There are 2 special dices on the table. On each face of the dice, a distinct number was written. Consider a 1.a 2,a 3,a 4,a 5,a 6 t...

2018-09-07 09:27:52

阅读数 37

评论数 0

Find a way HDU - 2612(两起点bfs)

Find a way HDU - 2612 Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many peop...

2018-09-04 07:51:50

阅读数 88

评论数 0

Oil Deposits HDU - 1241(BFS找连通分量)

Oil Deposits HDU - 1241 The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one l...

2018-09-03 16:38:18

阅读数 36

评论数 0

Sparse Graph HDU - 5876(求补图最短路BFS)

Sparse Graph HDU - 5876 In graph theory, the complement of a graph G is a graph H on the same vertices such that two distinct vertices of H are adja...

2018-08-31 19:11:46

阅读数 61

评论数 0

Escape HDU - 3533 (BFS)

Escape HDU - 3533 The students of the HEU are maneuvering for their military trainin...

2018-05-17 08:36:46

阅读数 57

评论数 0

Eight II HDU - 3567 (bfs打表+hash映射+康托展开)

Eight II HDU - 3567 Eight-puzzle, which is also called "Nine grids&quot...

2018-05-14 19:02:49

阅读数 130

评论数 0

Eight HDU - 1043 (八数码,BFS逆向打表+康托展开hash)

Eight HDU - 1043 The 15-puzzle has been around for over 100 years; even if you don't...

2018-05-14 18:51:18

阅读数 358

评论数 1

Superbot ZOJ - 3865 (BFS)

Superbot ZOJ - 3865 Superbot is an interesting game which you need to control the robot on an N*M grid ma...

2018-04-25 20:58:13

阅读数 124

评论数 0

计蒜客-藏宝图(bfs+状压)

藏宝图 蒜头君得到一张藏宝图。藏宝图是一个 10×1010 \times 1010×10 的方格地图,图上一共有 101010 个宝藏。有些方格地形太凶险,不能进入。整个图只有一个地方可以出入,即是入口也是出口。蒜头君是一个贪心的人,他规划要获得所有宝...

2018-03-28 20:05:35

阅读数 201

评论数 2

1094. The Largest Generation (25)(bfs)

1094. The Largest Generation (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 ...

2018-03-10 18:38:29

阅读数 47

评论数 0

1091. Acute Stroke (30)(bfs)

1091. Acute Stroke (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard ...

2018-03-10 18:05:54

阅读数 100

评论数 0

The Great Mixing CodeForces - 788C (BFS)

The Great Mixing CodeForces - 788C Sasha and Kolya decided to get drunk with Coke, again. This time they have k types of Coke. i-th typ...

2018-01-29 18:24:43

阅读数 92

评论数 0

Pots POJ - 3414(BFS+路径还原)

Pots POJ - 3414 You are given two pots, having the volume of A and B liters respectively. The following operations can be performed: FI...

2017-11-05 10:12:51

阅读数 104

评论数 0

非常可乐(BFS)

非常可乐 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 17358    Accepted Submission(s): 7042 ...

2017-10-29 20:04:28

阅读数 377

评论数 0

Find The Multiple(搜索)

Find The Multiple Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 35088   Accepted: 14644   Special Judge D...

2017-10-29 16:47:54

阅读数 382

评论数 0

列出连通集(25 分)(深搜广搜)

7-7 列出连通集(25 分) 给定一个有N个顶点和E条边的无向图,请用DFS和BFS分别列出其所有的连通集。假设顶点从0到N−1编号。进行搜索时,假设我们总是从编号最小的顶点出发,按编号递增的顺序访问邻接点。 输入格式: 输入第1行给出2个整数N(0N≤10)和E,分别是图的顶...

2017-10-27 20:03:25

阅读数 271

评论数 0

Fire Game(两点bfs)

 Problem 2150 Fire GameAccept: 623    Submit: 2445Time Limit: 1000 mSec    Memory Limit : 32768 KB Problem DescriptionFat brother and Maze are playin...

2017-10-21 17:27:55

阅读数 127

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭