@ps: ..:-)
On 5/22/11, Piyush Sinha ecstasy.piy...@gmail.com wrote:
@MONSIEUR..
someone once saidTHE SECRET OF SUCCESS IS TO NEVER REVEAL YOUR
SOURCES... ;)...:P..:P
On 5/22/11, MONSIEUR monsieur@gmail.com wrote:
@piyush: excellent buddybtw what was the initial
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
where order is not important.
For eg, for 5, it will be
1 + 4
1 + 1 + 3
1 + 1 + 1 + 2
1 + 1 + 1 + 1 + 1
1 + 2 + 2 and so on
@jalaj: u are more or less rightactually u check first that
whether the given seq first increases or dec then accordingly call
functionhere u have assumed that seq first increases n then
decreases so first u better check either increases or decreases.bt
overall good buddy..!!!
On