BFS
SadSummerHoliday
这个作者很懒,什么都没留下…
展开
-
hdu1495 非常可乐 (bfs)
非常可乐 Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 38624Accepted Submission(s): 15103 Problem Description 大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定...原创 2020-09-16 11:56:48 · 141 阅读 · 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 · 535 阅读 · 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 · 320 阅读 · 0 评论 -
codeforce 1064D bfs
D. Labyrinth time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output You are playing some computer game. One of its levels puts you in a ...原创 2019-02-20 14:40:30 · 126 阅读 · 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 · 110 阅读 · 0 评论