Click here to Skip to main content

Algorithms

 
AnswerRe: NORMSDIST function Pinmember73Zeppelin3-Jul-08 4:19 
GeneralRe: NORMSDIST function Pinmembersumit70343-Jul-08 3:47 
GeneralRe: NORMSDIST function PinmemberMember 82494621-Dec-11 0:54 
GeneralThe six rightmost non-zero digits of 1000000! PinmemberRod Gowdy2-Jul-08 5:50 
GeneralRe: The six rightmost non-zero digits of 1000000! [modified] PinmemberRobert.C.Cartaino2-Jul-08 7:33 
GeneralRe: The six rightmost non-zero digits of 1000000! PinmemberRod Gowdy3-Jul-08 4:42 
GeneralRe: The six rightmost non-zero digits of 1000000! PinmemberRobert.C.Cartaino3-Jul-08 11:06 
QuestionSpecify numbers as product of Primes? PinmemberIan Uy25-Jun-08 20:37 
AnswerRe: Specify numbers as product of Primes? Pinmembercp987625-Jun-08 22:32 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy26-Jun-08 1:42 
AnswerRe: Specify numbers as product of Primes? PinmemberRobert.C.Cartaino26-Jun-08 5:48 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy26-Jun-08 5:50 
GeneralRe: Specify numbers as product of Primes? PinmemberThe Developer8-Aug-08 8:03 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy26-Jun-08 7:28 
Thanks for your reply. I have successfully translated it into C++.

int main()
{
	int InputCase;
	cin >> InputCase;
 
		for(int i=2;i<=InputCase;i++)
		{
			if(InputCase%i==0)
			{
				//cout << InputCase << "/" << i << "=" << InputCase/i << endl;
				cout << i;
				InputCase/=i;
				i--;
			}
		}
	
 
	return 0;
}

Thanks! Smile | :)

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.

GeneralRe: Specify numbers as product of Primes? PinmemberPaul Conrad28-Jun-08 6:44 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy28-Jun-08 6:46 
GeneralRe: Specify numbers as product of Primes? PinmemberPaul Conrad28-Jun-08 7:11 
GeneralRe: Specify numbers as product of Primes? PinmemberRavi Bhavnani8-Aug-08 8:16 
GeneralRe: Specify numbers as product of Primes? Pinmembercp987628-Jun-08 21:27 
GeneralRe: Specify numbers as product of Primes? PinmvpLuc Pattyn29-Jun-08 3:42 
GeneralRe: Specify numbers as product of Primes? PinmemberMarkBrock27-Jun-08 19:46 
GeneralRe: Specify numbers as product of Primes? PinmemberPaul Conrad28-Jun-08 6:42 
GeneralRe: Specify numbers as product of Primes? PinmemberChandraRam2-Jul-08 23:49 
GeneralRe: Specify numbers as product of Primes? PinmemberMarkBrock3-Jul-08 0:06 
AnswerRe: Specify numbers as product of Primes? PinmemberMember 419459326-Jun-08 9:19 
GeneralRe: Specify numbers as product of Primes? PinmemberRobert.C.Cartaino26-Jun-08 9:47 
GeneralRe: Specify numbers as product of Primes? PinmemberIan Uy26-Jun-08 18:51 
GeneralRe: Specify numbers as product of Primes? Pinmembercp987629-Jun-08 15:57 
AnswerRe: Specify numbers as product of Primes? PinmemberArash Partow29-Jun-08 1:48 
GeneralRe: Specify numbers as product of Primes? [modified] Pinmembercp987629-Jun-08 4:53 
GeneralRe: Specify numbers as product of Primes? PinmvpLuc Pattyn29-Jun-08 5:40 
GeneralRe: Specify numbers as product of Primes? Pinmembercp987629-Jun-08 15:47 
GeneralRe: Specify numbers as product of Primes? PinmemberArash Partow30-Jun-08 3:54 
GeneralRe: Specify numbers as product of Primes? Pinmembercp987630-Jun-08 4:18 
GeneralRe: Specify numbers as product of Primes? PinmemberArash Partow30-Jun-08 5:27 
GeneralRe: Specify numbers as product of Primes? PinmemberArash Partow30-Jun-08 3:17 
Questionlogic of prob function in ms excel Pinmembersumit703425-Jun-08 1:40 
QuestionFactorials PinmemberIan Uy24-Jun-08 9:17 
AnswerRe: Factorials PinmemberTim Craig24-Jun-08 11:29 
GeneralRe: Factorials PinmemberIan Uy25-Jun-08 7:32 
GeneralRe: Factorials PinmemberTim Craig25-Jun-08 9:55 
GeneralRe: Factorials PinmvpLuc Pattyn25-Jun-08 12:01 
GeneralRe: Factorials PinmemberTim Craig25-Jun-08 22:06 
AnswerRe: Factorials Pinmembercp987624-Jun-08 13:33 
AnswerRe: Factorials PinmemberMatthew Butler24-Jun-08 13:38 
GeneralRe: Factorials Pinmembercp987624-Jun-08 15:05 
GeneralRe: Factorials PinmvpLuc Pattyn24-Jun-08 16:02 
GeneralRe: Factorials Pinmembercp987624-Jun-08 21:09 
GeneralRe: Factorials PinmvpLuc Pattyn25-Jun-08 0:53 
GeneralRe: Factorials Pinmembercp987625-Jun-08 3:27 

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
Web01 | 2.8.150414.1 | Last Updated 17 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid