Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:高手看一下,我的BFS哪错了??我的测试数据都对呀!!!In Reply To:高手看一下,我的BFS哪错了??我的测试数据都对呀!!! Posted by:byron at 2006-07-12 21:07:04 你的count最终输出的是入队的个数,而不是结果,不信你试试这组数据,结果是18,可你的程序输出42! 5 5 5 S.... ####. ####. #.... ##### ##### ##... ####. #.##. #.... ##.## ##.## ##### ##### ##### ##.#. #..#. #.##. #.... ##### ###.. #...# #.### #.... ####E Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator