Giter Site home page Giter Site logo

wlhbitse's Introduction

wlhbitse

bit cs se homework
博客地址:
https://blog.csdn.net/wlh1998

运行说明:
在命令行中使用-s参数加题目文件名的形式求解数独,并将结果输出至文件sudoku.txt中。
如:sudoku.exe -s absolute_path_of_puzzlefile
将在同目录下生成sudoku.txt,为题目的解。
在命令行中使用-c参数加终局数目的形式生成终局,生成的终局用sudoku.txt保存。
如:sudoku.exe -c 20

项目说明:
BIN 要求的可执行文件目录。包括sudoku.exe可执行文件。
gui:简单的桌面应用程序。包括生成题目,判断正误功能。
sudoku:代码文件。包括基本要求的源码。

2018.12.21
终局格式化

2018.12.21.22:29
求解初版

2018.12.24
终局性能优化

2018.12.29
添加gui
目录整理
输入输出规范化。
为如下格式
6 1 2 3 4 5 7 8 9
7 8 9 6 1 2 3 4 5
3 4 5 7 8 9 6 1 2
9 6 1 2 3 4 5 7 8
5 7 8 9 6 1 2 3 4
2 3 4 5 7 8 9 6 1
8 9 6 1 2 3 4 5 7
1 2 3 4 5 7 8 9 6
4 5 7 8 9 6 1 2 3

6 1 2 3 4 5 7 8 9
7 8 9 6 1 2 3 4 5
3 4 5 7 8 9 6 1 2
9 6 1 2 3 4 5 7 8
5 7 8 9 6 1 2 3 4
2 3 4 5 7 8 9 6 1
8 9 6 1 2 3 4 5 7
1 2 3 4 5 7 8 9 6
4 5 7 8 9 6 1 2 3

——————————————————————————————————

wlhbitse's People

Contributors

wlh1998 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.