[algogeeks] Re: Compositions of a number

2011-03-21 Thread ganesha
Can you tell me the name of the equivalent SPOJ problem ? On Mar 21, 6:23 pm, Azazle simon monsieur@gmail.com wrote: Dude, its spoj pbm and see eular diagram On 3/20/11, ganesha suresh.iyenga...@gmail.com wrote: Given a number n, write a program to output its various compositions

[algogeeks] Re: Compositions of a number

2011-03-21 Thread bittu
@Ganesha it has been several times here i m re-posting again here have look at it , You can also find it several places by goggling it basically we have to Print all combination of points that can compose a given number Examples: For n = 1, the program should print following: 1 For n = 2, the