![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
BFS
文章平均质量分 81
-小小小小魔王-
小白上路ing……
展开
-
POJ1426——Find The Multiple (BFS)
Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. You may assume that n is not greater than 200 and there...原创 2018-05-23 19:32:50 · 106 阅读 · 0 评论 -
HDU1195——Open the Lock (BFS)
原题链接: http://acm.hdu.edu.cn/showproblem.php?pid=1195 #include<iostream> #include<cstdio> #include<cstring> #include<queue> using namespace std; struct node { int num[4],s...原创 2018-05-21 20:19:50 · 195 阅读 · 0 评论