Jason ZHANG的博客

小白学习中...

Singly Linked List & Destructor - C++ for C Programmers 3.4

/*  Update on Oct 7th     Finally figured out the reason for the malfunction of str destructor.     It is really about pass-by-reference, which mea...

2016-02-29 22:27:01

阅读数 378

评论数 0

(广度优先搜索第一课)迷宫的最短路径 - BFS

给定一个大小为N*M的迷宫,由通道('.')和墙壁('#')组成,其中通道S表示起点,通道G表示终点,每一步移动可以达到上下左右中不是墙壁的位置。试求出起点到终点的最小步数。(本题假定迷宫是有解的) (N,M 样例输入: 10 10 # S # # # # # # . # . . . ...

2016-02-29 22:10:01

阅读数 8417

评论数 0

POJ 2386 Lake Counting - DFS

Lake Counting Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 26533   Accepted: 13329 Description Due to recent rains,...

2016-02-29 20:35:29

阅读数 240

评论数 0

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