Skip to content

fmy-xfk/soduku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Soduku

This is a program designed to solve the soduku problem.

Compile the soduku.cpp by using C++11 and O2 optimization to use the program.

Here are two examples:

Input 1Output 1
___7__3__
_3_24_1__
8_6_3___2
__91___2_
14__9__56
_5___69__
3___2_6_1
__4_17_3_
__2__4___
0
Duration:0s
Yes
421769385
935248167
876531492
769153824
143892756
258476913
387925641
594617238
612384579
Input 2Output 2
_________
_________
_________
_________
_________
_________
_________
_________
_________
27
A1+A2+B1+C1=12
A3+B2+B3+B4=28
C2+C3+C4=20
A4+A5+A6=14
B5+B6+C5=14
A7+A8+B7=21
C6+C7+D7=6
A9+B8+B9=7
C8+D8=9
C9+D9=13
D1+E1+F1+G1=22
D2+D3+E3+E4=19
D4+D5+D6=21
E2+F2+G2=9
E5+E6+E7=14
E8+E9=16
F3+F4+F5=17
F6+F7+F8=16
F9+G9=10
H1+H2+I1+I2=27
G3+H3+I3=6
G4+G5+G6=12
G7+G8+H8=17
H4+I4=13
H5+I5+H6=13
I6+I7+H7=18
I8+I9+H9=11
Duration:0.322404s
Yes
628374591
395681742
147952368
276498135
814235679
539716824
753129486
961843257
482567913

About

A simple Soduku solution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages