
广搜
henucyt
这个作者很懒,什么都没留下…
展开
-
寒假训练三 G 抓牛
寒假训练三 G 抓牛 Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow原创 2018-01-26 15:05:47 · 269 阅读 · 0 评论 -
Prime Path POJ - 3126 (素数,bfs)
可以说这个题思路是非常简单了,打素数表,再广搜。。。一些不好懂的都在代码里注释了http://poj.org/problem?id=3126 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<queue> #include&...原创 2018-02-27 16:17:54 · 241 阅读 · 0 评论