[algogeeks] Re: Finding the n integers given the set of sums.

2007-11-08 Thread anvera
This works, but by now I am not sure it is the best way. Actually the problem is that you can have more (undesired) solutions (I have tested it in Maple). Also, it is very important to well chose what equations to put in the system. A choice on the equations can eliminate symmetry. So, you are

[algogeeks] Re: Finding the n integers given the set of sums.

2007-11-08 Thread Andrey
Ajinkya. It would be great if you provided us with compilable version of your solution. The program that can be found by the link you have posted before doesn't work. Implementation of my idea can be found here: http://programming-challenges.googlegroups.com/web/Find_nums_by_sums.cpp But as