
BFS
SadSummerHoliday
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu1495 非常可乐 (bfs)
非常可乐Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 38624Accepted Submission(s): 15103Problem Description大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定...原创 2020-09-16 11:56:48 · 186 阅读 · 0 评论 -
KNIGHT MOVES (象棋走马)(BFS)
KNIGHT MOVES (象棋走马)(BFS)Description A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a ...原创 2018-07-11 21:47:21 · 606 阅读 · 0 评论 -
A strange lift(BFS)
A strange liftTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8801 Accepted Submission(s): 3327Problem DescriptionThere is a strange lift.The...原创 2018-07-12 20:32:58 · 359 阅读 · 0 评论 -
codeforce 1064D bfs
D. Labyrinthtime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputYou are playing some computer game. One of its levels puts you in a ...原创 2019-02-20 14:40:30 · 154 阅读 · 0 评论 -
poj 3126 bfs+素数筛
#include<iostream>#include<stdio.h>#include<cstring>#include<queue>#include<cmath>#define show(a) cout<<#a<<" = "<<a<&原创 2019-02-20 19:41:20 · 137 阅读 · 0 评论