Skip to content

freeeve/C-NQueens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

C-NQueens

This is a C implementation of the Eight (N) Queens algorithm.

Comparing speed to my scala implementation of a similar algorithm. It's actually not much faster. I may try to optimize it in both.

NSolutionsTime in CTime in Scala
107240s1s
1126800s0s
12142002s2s
13737129s9s
1436559660s60s
152279184421s462s

License LGPL

Copyright 2012 Wes Freeman

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/

About

playing around with C and the N queens problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages