Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Liloche19/nqueen_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nqueen - Go

A program that solves the nqueen problem in Go

The program try all possibility, and count the ones that follows the laws of the problem.

In order to have the maximum performances, the program is multithreaded at the size of the plate that the program is trying to solve.

More informations can be found here.

🛠️ Installation

Make sure to have the necessary dependencies :

On Ubuntu / Debian :

sudo apt install go

On Archlinux :

sudo pacman -S install go

This is how to install the project :

Clone the repository :

git clone https://github.com/Liloche19/nqueen_go.git
cd nqueen_go

Then, compile the project :

go build

(OPTIONAL) :

After use, you can delete the executable file :

rm nqueen_go

This is how to launch the project :

./nqueen_go size

The outpout will look like this :

Solutions : [number]

Contribution

If you have any proposition, you can contact me. I will be happy to improve this projet.

About

A go program that solve the nqueen problem, with multithreading

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages