Click here to Skip to main content
12,073,325 members (76,518 online)

Algorithms

 
GeneralRe: Specify numbers as product of Primes? Pin
Ian Uy26-Jun-08 5:50
memberIan Uy26-Jun-08 5:50 
GeneralRe: Specify numbers as product of Primes? Pin
The Developer8-Aug-08 8:03
memberThe Developer8-Aug-08 8:03 
GeneralRe: Specify numbers as product of Primes? Pin
Ian Uy26-Jun-08 7:28
memberIan Uy26-Jun-08 7:28 
GeneralRe: Specify numbers as product of Primes? Pin
Paul Conrad28-Jun-08 6:44
memberPaul Conrad28-Jun-08 6:44 
GeneralRe: Specify numbers as product of Primes? Pin
Ian Uy28-Jun-08 6:46
memberIan Uy28-Jun-08 6:46 
GeneralRe: Specify numbers as product of Primes? Pin
Paul Conrad28-Jun-08 7:11
memberPaul Conrad28-Jun-08 7:11 
GeneralRe: Specify numbers as product of Primes? Pin
Ravi Bhavnani8-Aug-08 8:16
memberRavi Bhavnani8-Aug-08 8:16 
GeneralRe: Specify numbers as product of Primes? Pin
cp987628-Jun-08 21:27
membercp987628-Jun-08 21:27 
Ian Uy wrote:
Yup, for some reason it did threw the right answers.


I think if you're aiming for the ACM ICPC then you should try to understand why it gives the correct answers (and at first glance it looks as if it should). The fact that i may not be prime actually doesn't matter (well except for efficiency concerns).

Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

GeneralRe: Specify numbers as product of Primes? Pin
Luc Pattyn29-Jun-08 3:42
mvpLuc Pattyn29-Jun-08 3:42 
GeneralRe: Specify numbers as product of Primes? Pin
MarkBrock27-Jun-08 19:46
memberMarkBrock27-Jun-08 19:46 
GeneralRe: Specify numbers as product of Primes? Pin
Paul Conrad28-Jun-08 6:42
memberPaul Conrad28-Jun-08 6:42 
GeneralRe: Specify numbers as product of Primes? Pin
ChandraRam2-Jul-08 23:49
memberChandraRam2-Jul-08 23:49 
GeneralRe: Specify numbers as product of Primes? Pin
MarkBrock3-Jul-08 0:06
memberMarkBrock3-Jul-08 0:06 
AnswerRe: Specify numbers as product of Primes? Pin
Member 419459326-Jun-08 9:19
memberMember 419459326-Jun-08 9:19 
GeneralRe: Specify numbers as product of Primes? Pin
Robert.C.Cartaino26-Jun-08 9:47
memberRobert.C.Cartaino26-Jun-08 9:47 
GeneralRe: Specify numbers as product of Primes? Pin
Ian Uy26-Jun-08 18:51
memberIan Uy26-Jun-08 18:51 
GeneralRe: Specify numbers as product of Primes? Pin
cp987629-Jun-08 15:57
membercp987629-Jun-08 15:57 
AnswerRe: Specify numbers as product of Primes? Pin
Arash Partow29-Jun-08 1:48
memberArash Partow29-Jun-08 1:48 
GeneralRe: Specify numbers as product of Primes? [modified] Pin
cp987629-Jun-08 4:53
membercp987629-Jun-08 4:53 
GeneralRe: Specify numbers as product of Primes? Pin
Luc Pattyn29-Jun-08 5:40
mvpLuc Pattyn29-Jun-08 5:40 
GeneralRe: Specify numbers as product of Primes? Pin
cp987629-Jun-08 15:47
membercp987629-Jun-08 15:47 
GeneralRe: Specify numbers as product of Primes? Pin
Arash Partow30-Jun-08 3:54
memberArash Partow30-Jun-08 3:54 
GeneralRe: Specify numbers as product of Primes? Pin
cp987630-Jun-08 4:18
membercp987630-Jun-08 4:18 
GeneralRe: Specify numbers as product of Primes? Pin
Arash Partow30-Jun-08 5:27
memberArash Partow30-Jun-08 5:27 
GeneralRe: Specify numbers as product of Primes? Pin
Arash Partow30-Jun-08 3:17
memberArash Partow30-Jun-08 3:17 

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.


Advertise | Privacy | Mobile
Web04 | 2.8.160208.1 | Last Updated 9 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid