摘要:
A typical flood-fill algorithm application (BFS). Not very complex, except only 1 tip: instead of searching for new space, I keep all spaces(occupied or not) in a hash_map that gets updated in a flood-fill.#include #include #include #include #include #include #include #include using namespace std;#i 阅读全文
posted @ 2014-02-18 16:02
Tonix
阅读(213)
评论(0)
推荐(0)

浙公网安备 33010602011771号