입찰 받는 중

Prolog Homework

1. An matrix of input is given, the matrix is for sure n x n, for example 4x4, 5x5

2. There are numbers in the matrix, some are "0"

3. We have to fill the 0 according to other number, each row and col's sum is (n^3+n)/2

Example input:

:-Game([[16 ,2 ,3 ,0]

[5 ,11 ,0 ,0]

[9 ,7 ,6 ,12]

[4 ,14 ,15 ,1]],Space,Moves).

Output:

13,13

10,11

14,8

true

The first output is the index(counting from top to bottom), second input is the number that fills in the 0

Has to finish within 12 Hour, thanks!

기술: 프롤로그

더 보기: prolog homework help, swi prolog homework

About the Employer:
( 0 reviews ) Canada

프로젝트 ID: #14922897

프리랜서 4명이 평균 $89 입찰 금액으로 이 일자리에 입찰하고 있습니다.

$100 CAD (2일 이내)
(4 리뷰)
2.6
BeshoyMousaKhair

. Relevant Skills and Experience . Proposed Milestones $100 CAD - .

$100 CAD (3일 이내)
(1 건 리뷰)
0.6
hannahnjoki33

A proposal has not yet been provided

$35 CAD (3일 이내)
(0 리뷰)
0.0
tuanthanhle

I'm sure can do it within 12 hours. But I would like to corect something. The output should be 13,13 10,10 14,8 true Isn't it?

$121 CAD (1일 이내)
(0 리뷰)
0.0