You need to make it so that the sum in every row and column will be equal. To do that, you need to select two positive integers. The only numbers that you can place in the grid are those two integers, their sum, their difference, their product, or their quotient. You can place only whole numbers.
Can you complete the grid?
(In reply to
re: The integers by Charlie)
By the way, the "placnumb.txt" file, read in near the beginning of the program, is the list from comment 8. The program took about 6 hours to find the results. I don't know if results could be obtained from other sets of numbers or attempting other column/row totals. It would take a while to do an exhaustive search.
|
Posted by Charlie
on 2007-03-16 09:53:18 |