首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 代码写在C / C++可以解决数独游戏著名的困惑

代码写在C / C++可以解决数独游戏著名的困惑

  • 资源大小:3.04 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: AIChallenge

资 源 简 介

Hi!! I have created this project just to share my little successes with everyone. Sudoku is one of my likings and I usually spend some time solving them. One day while solving, a thought strike me that why should not I create a simple C or C++ program that can solve it in seconds. Then I tried hard and hard and came up with a rough algo in C with some graphics. Although the graphics work quite well the algo was poor, had lots of bugs. But the second algo is best. It is a small code, uses back tracking method. So its complexity is exponential. I have tried the hardest sudokus ever from the internet and it has solved every. I invite you to explore the code and suggest me some new ideas. regards chirag
VIP VIP
0.194455s