Click here to Skip to main content
15,905,508 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: RegularExpressions.Regex Pin
Gaston Verelst16-Mar-11 3:01
Gaston Verelst16-Mar-11 3:01 
QuestionFactoring ???? [modified] Pin
Johnkokk8-Mar-11 22:20
Johnkokk8-Mar-11 22:20 
AnswerRe: Factoring ???? Pin
Luc Pattyn8-Mar-11 22:34
sitebuilderLuc Pattyn8-Mar-11 22:34 
GeneralRe: Factoring ???? Pin
Johnkokk8-Mar-11 22:37
Johnkokk8-Mar-11 22:37 
AnswerRe: Factoring ???? Pin
Richard MacCutchan8-Mar-11 23:21
mveRichard MacCutchan8-Mar-11 23:21 
GeneralRe: Factoring ???? Pin
Johnkokk9-Mar-11 0:38
Johnkokk9-Mar-11 0:38 
GeneralRe: Factoring ???? Pin
Richard MacCutchan9-Mar-11 2:26
mveRichard MacCutchan9-Mar-11 2:26 
GeneralRe: Factoring ???? Pin
Johnkokk9-Mar-11 5:37
Johnkokk9-Mar-11 5:37 
Do you really think, that the problem is to multiply 2 numbers ? Big Grin | :-D

I'll take it that i wasn't clear enough maybe.


I give you a number A=160
Let's say that i also give you an array, with the following numbers
[2,4,5,8,10,20,40]

From the numbers in the array, i want to get number A, by multiplying whatever numbers needed.
Each number in the array can be used only ONCE.

The numbers in the array and also number A can be different each time.It's not always the same.

So, for the specific numbers above and using only my mind, i see that 160 can be produced by 2x8x10 or 4x40 or 8x20.
It cannot be produced obviously by 2x4x5x8, and so on.

So, the problem is to find the algorithm, that can find at least one combination of numbers the can produce A.

Sorry if I am not that clear.

Thanks anyway.
GeneralRe: Factoring ???? Pin
Richard MacCutchan9-Mar-11 5:47
mveRichard MacCutchan9-Mar-11 5:47 
AnswerRe: Factoring ???? Pin
Luc Pattyn9-Mar-11 6:17
sitebuilderLuc Pattyn9-Mar-11 6:17 
AnswerRe: Factoring ???? Pin
musefan9-Mar-11 4:36
musefan9-Mar-11 4:36 
AnswerRe: Factoring ???? Pin
davidnz20-Mar-11 21:44
davidnz20-Mar-11 21:44 
GeneralRe: Factoring ???? Pin
Johnkokk20-Mar-11 23:07
Johnkokk20-Mar-11 23:07 
GeneralRe: Factoring ???? Pin
davidnz21-Mar-11 12:32
davidnz21-Mar-11 12:32 
QuestionWorkflow or Windows Service??? Pin
Priya Prk7-Mar-11 23:04
Priya Prk7-Mar-11 23:04 
AnswerRe: Workflow or Windows Service??? Pin
mocastro8-Mar-11 3:13
mocastro8-Mar-11 3:13 
AnswerRe: Workflow or Windows Service??? Pin
Abhinav S14-Mar-11 18:07
Abhinav S14-Mar-11 18:07 
QuestionHow can we pick dynamic images and rotate them in J-Query Pin
Andrewnick206-Mar-11 19:35
Andrewnick206-Mar-11 19:35 
AnswerRe: How can we pick dynamic images and rotate them in J-Query Pin
Richard MacCutchan6-Mar-11 22:24
mveRichard MacCutchan6-Mar-11 22:24 
QuestionWindows service with FileSystemWatcher Pin
byka4-Mar-11 5:21
byka4-Mar-11 5:21 
AnswerRe: Windows service with FileSystemWatcher Pin
N a v a n e e t h4-Mar-11 5:30
N a v a n e e t h4-Mar-11 5:30 
GeneralRe: Windows service with FileSystemWatcher Pin
byka4-Mar-11 5:38
byka4-Mar-11 5:38 
GeneralRe: Windows service with FileSystemWatcher Pin
jschell4-Mar-11 7:32
jschell4-Mar-11 7:32 
GeneralRe: Windows service with FileSystemWatcher Pin
Eddy Vluggen4-Mar-11 12:23
professionalEddy Vluggen4-Mar-11 12:23 
AnswerRe: Windows service with FileSystemWatcher Pin
Bernhard Hiller7-Mar-11 20:31
Bernhard Hiller7-Mar-11 20:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.