because 2 is repeated twice int 2,2,9
and 4,9 and 9,4 are different permutations but same combinations.



On Mon, Apr 30, 2012 at 6:54 AM, Vijay Govind <[email protected]> wrote:

> Please clarify, why are you taking 2, 2, 9 as a repitation? I thought if
> 4, 9 was in your list then 9, 4 was a repitation.
>
>
> On Mon, Apr 30, 2012 at 1:24 AM, vivek dhiman <[email protected]>wrote:
>
>> c++
>>
>> discard conibnations which have repitations/.
>> e.g. and discard
>>
>> - 2,2,9
>> - 2,2,3,3
>> - 3,3,4
>>
>>
>> On Mon, Apr 30, 2012 at 1:13 AM, Βαγγέλης Μαμαλάκης 
>> <[email protected]>wrote:
>>
>>> What language do you use? And which numbers do you have to discard
>>> exactly?
>>>
>>> On Sun, Apr 29, 2012 at 3:27 PM, vivek dhiman <[email protected]>wrote:
>>>
>>>> what data structure to use..
>>>> e.g. n = 36
>>>>
>>>> I have to store
>>>> - 36
>>>> - 2,18
>>>> - 2,3,6
>>>> - 3,12
>>>> - 4,9
>>>>
>>>> and discard
>>>> - 2,2,9
>>>> - 2,2,3,3
>>>> - 3,3,4
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Code Jam" group.
>>>> To post to this group, send email to [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-code?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Code Jam" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-code?hl=en.
>>>
>>
>>
>>
>> --
>> Regards
>> Vivek Dhiman
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Code Jam" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-code?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-code?hl=en.
>



-- 
Regards
Vivek Dhiman

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to