 |
13-07-2010, 12:27 AM
|
#1 (permalink)
|
|
XLr8
Join Date: Sep 2008
Posts: 637
|
combination array
i want to find combination of elements in an array with two rules :
1. the output should be 4 (for 4 arr elements)
2. repetitions are allowed
eg {A,B,C,D}
o/p:
{A,A,A,A}
{A,A,A,B}
{A,A,B,B}
''
''
''
thanx in advance.. (coding in c#/c)
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
|
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
16-07-2010, 02:02 PM
|
#2 (permalink)
|
|
XLr8
Join Date: Sep 2008
Posts: 637
|
Re: combination array
did this forum run out of programmers ????
or did nobody understand the question ??
tell me how " this" relates to my question , still looking for answers
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
|
|
|
|
22-11-2010, 04:04 PM
|
#3 (permalink)
|
|
Wise Old Owl
Join Date: Sep 2009
Posts: 1,624
|
Re: combination array
Can u elaborate a bit?
__________________
Core 2 duo E4500 2.2gHz , ASUS P5GCMX , 3GB Transcend , Corsair VX 550w, MSI R5770 HAWK Edition 1GB, CM HAF-922, LG W2243T 21.5" LCD, I-Ball Baton
|
|
|
22-11-2010, 10:20 PM
|
#4 (permalink)
|
|
XLr8
Join Date: Sep 2008
Posts: 637
|
Re: combination array
i forgot about this thread. it is LONG time back.
found the solution myself. it was a small part of a much larger algo.
so this is "solved". thnks for bumping.
btw the codeproject link is the basic step of the solution
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
|
|
|
|
24-11-2010, 12:05 PM
|
#5 (permalink)
|
|
Wise Old Owl
Join Date: Sep 2009
Posts: 1,624
|
Re: combination array
Hey how much does ur Proccy, mobo and Ram cost you...m planning to buy a same config and also tell me how do you find the performance in games?
__________________
Core 2 duo E4500 2.2gHz , ASUS P5GCMX , 3GB Transcend , Corsair VX 550w, MSI R5770 HAWK Edition 1GB, CM HAF-922, LG W2243T 21.5" LCD, I-Ball Baton
|
|
|
25-11-2010, 05:52 PM
|
#6 (permalink)
|
|
XLr8
Join Date: Sep 2008
Posts: 637
|
Re: combination array
Quote:
Originally Posted by abhidev
Hey how much does ur Proccy, mobo and Ram cost you...?
|
32.6 K
(1.5 months old price)
Quote:
Originally Posted by abhidev
tell me how do you find the performance in games?
|
should have started a new thread but still..
Unigine Heaven Benchmark > dx11 >
min fps: 43
max fps: 102
Unigine Tropics Benchmark >
min fps: 97
max fps: 188
played :
>Prince of Persia: The Forgotten Sand
>burnout paradise
>nfs hot pursuit
>COD MW2
>HAWX
all at 1600X900 res. 4X FSAA. all graphics options at max.
no frames dropped and no lagging
just loving the GFX churning out the frames
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
|
|
|
|
25-11-2010, 06:04 PM
|
#7 (permalink)
|
|
Excessive happiness
Join Date: Jun 2008
Location: Bangalore
Posts: 2,974
|
Re: combination array
@abhidev -- see ur siggy
Core 2 duo E45000 2.2gHz , ASUS P5GCMX , 2GB Transcend , Corsair VX 550w, MSI R5770 HAWK Edition 1GB, CM HAF-922, LG 21.5" LCD, I-ball 2.1 speakers
__________________
My First Android phone : Samsung Galaxy SL i9003 - Rooted & Gingerbread XXKPQ
Updated : superteekz_V2 ROM for XXKPQ.
PS Request
|
|
|
25-11-2010, 07:11 PM
|
#8 (permalink)
|
|
Sami Hyypiä, LFC legend
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
|
Re: combination array
Take hardware discussions out of this thread please. Ta
@arpanmukharjee, post your pseudocode/solution in this thread if you can
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|