Click here to Skip to main content
       

Algorithms

 
QuestionSpecify numbers as product of Primes? PinmemberIan Uy25-Jun-08 19:37 
Good Day,
 
It's me again. This question is one of the questions in ACM ICPC 2006 - Philippines.
 
Basically, you need to express a large number as a product of its Primes.
 
For example:
120 = 2x2x2x3x5 (or 2^3x3^1x5^1)
 
I'm lost on how to begin to tackle this problem. Please advice.
 
Thank you.
 
It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

AnswerRe: Specify numbers as product of Primes? Pinmembercp987625-Jun-08 21:32 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy26-Jun-08 0:42 
AnswerRe: Specify numbers as product of Primes? PinmemberRobert.C.Cartaino26-Jun-08 4:48 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy26-Jun-08 4:50 
GeneralRe: Specify numbers as product of Primes? PinmemberThe Developer8-Aug-08 7:03 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy26-Jun-08 6:28 
GeneralRe: Specify numbers as product of Primes? PinmemberPaul Conrad28-Jun-08 5:44 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy28-Jun-08 5:46 
GeneralRe: Specify numbers as product of Primes? PinmemberPaul Conrad28-Jun-08 6:11 
GeneralRe: Specify numbers as product of Primes? PinmemberRavi Bhavnani8-Aug-08 7:16 
GeneralRe: Specify numbers as product of Primes? Pinmembercp987628-Jun-08 20:27 
GeneralRe: Specify numbers as product of Primes? PinmvpLuc Pattyn29-Jun-08 2:42 
GeneralRe: Specify numbers as product of Primes? PinmemberMarkBrock27-Jun-08 18:46 
GeneralRe: Specify numbers as product of Primes? PinmemberPaul Conrad28-Jun-08 5:42 
GeneralRe: Specify numbers as product of Primes? PinmemberChandraRam2-Jul-08 22:49 
GeneralRe: Specify numbers as product of Primes? PinmemberMarkBrock2-Jul-08 23:06 
AnswerRe: Specify numbers as product of Primes? PinmemberMember 419459326-Jun-08 8:19 
GeneralRe: Specify numbers as product of Primes? PinmemberRobert.C.Cartaino26-Jun-08 8:47 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy26-Jun-08 17:51 
GeneralRe: Specify numbers as product of Primes? Pinmembercp987629-Jun-08 14:57 
AnswerRe: Specify numbers as product of Primes? PinmemberArash Partow29-Jun-08 0:48 
GeneralRe: Specify numbers as product of Primes? [modified] Pinmembercp987629-Jun-08 3:53 
GeneralRe: Specify numbers as product of Primes? PinmvpLuc Pattyn29-Jun-08 4:40 
GeneralRe: Specify numbers as product of Primes? Pinmembercp987629-Jun-08 14:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.140916.1 | Last Updated 16 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid