Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

web-logs2/NQueens-OMP

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NQueens-OMP

N Queens puzzle implemented in C with OpenMP.

NQueens Puzzle

The N queens puzzle is the problem of placing N queens in a N X N chess board such that no queen can be attacked by another queen in any possible direction(vertically, horizontally and diagonally).

Compile and Run

To compile:

sequential:

gcc -o rainhas rainhas.c

parallel-OpenMP:

gcc -o rainhas -fopenmp rainhas.c -lpthread

To run: ./rainhas numberOfQueens numberOfThreads

if numberofThreads = 0 -> sequential

Contributor(s)

Bianca Nunes Coelho - Computer engeneering student at Universidade Federal de Pelotas(UFPEL)

Alejandro Tomas Reyes Alberoni - Computer science student at Universidade Federal de Pelotas(UFPEL)

Patrick Silva da Rosa - Computer engeneering student at UNiversidade Federal de Pelotas(UFPEL)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.