算法小白-0xa5
算法小白-0xa5
全部文章
分类
算法(1)
题解(18)
归档
标签
去牛客网
登录
/
注册
来份工作吧
全部文章
(共1篇)
题解 | #Sudoku#
编写check函数检查某个位置能够设置某个数,然后从第一个空缺位置开始使用深度优先遍历的方式尝试所有可能的数字,失败是进行回溯。 #include <iostream> #include <sstream> #include <cstring> #include ...
DFS
回溯
2021-08-21
0
301