SAS programming

This project is ending in 3 days and has an average bid price of $1347 HKD.

Get free quotes for a project like this
Project Budget
$240 - $2000 HKD
Total Bids
Project Description

Question: Queens puzzle.

The eight queens puzzle is the problem of placing eight chess queens on an 8×8 chessboard so that no two

queens threaten each other. Thus, a solution requires that no two queens share the same row, column, or

diagonal. The eight queens puzzle is an example of the more general n queens problem of placing n nonattacking

queens on an n×n chessboard.

[url removed, login to view]

Write a macro to find ONE solution of n queens problem:

1. Create a macro called queen with one parameter which is the size of the chessboard;

a. Macro call by %queen(n);

e.g. %queen(6);

2. Create a TEMPORARY dataset called QUEENn (figure 3 & 4) to store the result of chess placed;

a. Create n variables to store the puzzle;

b. Place the chess randomly;

Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online