用python抓取https://www.oubk.com/上的数独并破解
将数独转化为一个9维的数组,其中空值设置为0,从第一个0值开始尝试填入(1-9),判断是否符合数独的规则,每行每列每宫不重复,符合则迭代寻找下一0值,并继续尝试填入数字,若无符合的数字,则返回上一数字并+1,继续测试,直到破解为止,该过程一般需要几万次尝试,但花费总时间不会超过1s
This project forked from blackandrechen/fuck_shudu
python爬取网页数独,并60行代码破解得出答案
将数独转化为一个9维的数组,其中空值设置为0,从第一个0值开始尝试填入(1-9),判断是否符合数独的规则,每行每列每宫不重复,符合则迭代寻找下一0值,并继续尝试填入数字,若无符合的数字,则返回上一数字并+1,继续测试,直到破解为止,该过程一般需要几万次尝试,但花费总时间不会超过1s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.