
广度搜索
文章平均质量分 89
你才到碗里来
这个作者很懒,什么都没留下…
展开
-
POJ - 3669 Meteor Shower (广搜+标记)
Meteor Shower POJ - 3669 Bessie hears that an extraordinary meteor shower is coming; reports say that these meteors will crash into earth and destroy anything they hit. Anxious for her safety,原创 2017-07-21 09:18:42 · 267 阅读 · 0 评论 -
51nod 1109 —— 01组成的N的倍数
01组成的N的倍数给定一个自然数N,找出一个M,使得M > 0且M是N的倍数,并且M的10进制表示只包含0或1。求最小的M。 例如:N = 4,M = 100。 Input 输入1个数N。(1 <= N <= 10^6) Output 输出符合条件的最小的M。 Sample Inp...原创 2018-03-25 10:29:28 · 903 阅读 · 0 评论