You are given 3 integers x,y,z.
you must find all groups of x integers until y, that when added give a sum of z.
Any ideas?
Last edited on
I think this problem have not unique solution. Needs more contitions.
;p you're right i mean numbers from 1 to z,each number used only once