来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1050
本题用了深度优先,还是递归,耗时90MS,不是个好方法,比较好的应该是如
网上所说的用BFS,位运算,
来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1050
本题用了深度优先,还是递归,耗时90MS,不是个好方法,比较好的应该是如
网上所说的用BFS,位运算,