SAS programming

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;

Kemahiran: SAS

Lihat lebih lanjut: macro e, size macro coreldraw, incrementing macro row column, sas programming skills, twitter sas sweden programming, freelance sas programming, sas programming bids, sas statistical programming arizona, sas andor stata programming, sas programming freelace, outsourcing sas programming, sas tabulate macro, sas programming freelance project, sas programming freelance, sas programming hard

Tentang Majikan:
( 0 ulasan ) Hong Kong

ID Projek: #13797533

5 pekerja bebas membida secara purata $1378 untuk pekerjaan ini

$1244 HKD dalam 3 hari
(1 Ulasan)

Bid Summary 1500 HKD for 5 days Project Requirements Finding one solution of the eight queens chess puzzle. Relevant Skills and Experience SAS, statistics, mathematics, spss, MATLAB Proposed Milestones $1500 HKD - T Lagi

$1500 HKD dalam 5 hari
(2 Ulasan)
$1244 HKD dalam 3 hari
(0 Ulasan)

Bid Summary Bid includes upfront advance, SAS coding and Word report explaining what is done Project Requirements SAS coding to place 8 queens on 8X8 chess board such that no two queens challenges each other. Relevan Lagi

$1400 HKD dalam 7 hari
(0 Ulasan)

A proposal has not yet been provided

$1500 HKD dalam 7 hari
(0 Ulasan)