- 博客(2)
- 收藏
- 关注
原创 hdu 1242 rescue
bfs();不用说了。 注意:要使用优先队列; 如果单纯的使用普通队列的话,那么下列数据就会出错: 7 8 #.#####. #.a..... #..xr... ..#..#.# #...##.. .#...... ........ 正确答案:3 而它会输出4;是因为节点扩展时先是x位置向右扩展到r,导致时间为4; #include #include using
2015-07-23 23:56:24 404
原创 hdu 2612 Find a way
Find a way Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5432 Accepted Submission(s): 1837 Problem Description Pass a year lea
2015-07-06 13:48:03 366
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人