03 2017 档案

摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1175 一道bfs的水题吧,挺恶心的,YES,NO的大小写我没注意,然后WA 这个题吧好像有个BUG就是说这两个点有可能是在一起的,数据问题 阅读全文
posted @ 2017-03-31 21:02 一个_小菜鸟 阅读(335) 评论(0) 推荐(0)
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1728 一道BFS搜索的水题,但是也弄了挺久的,有两个地方要注意一下 一是对于某个点,并不是说这个点走过了,就不能走了,而是这个点不添加到队列里去了,但是还是可以走的 二是一次走的方向,不止一个点,应该走一条直线 阅读全文
posted @ 2017-03-31 16:34 一个_小菜鸟 阅读(263) 评论(0) 推荐(0)
摘要:http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1250 Super Fast Fourier Transform Bobo has two sequences of integers {a1,a2,…,an} and {b1 阅读全文
posted @ 2017-03-12 23:01 一个_小菜鸟 阅读(159) 评论(0) 推荐(0)
摘要:http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1252 Defense Tower In ICPCCamp, there are n cities and (n−1) (bidirectional) roads betwee 阅读全文
posted @ 2017-03-12 21:15 一个_小菜鸟 阅读(170) 评论(0) 推荐(0)