Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: Instead of: [CODE] for ( int j = 2; j <= num; j++){ [/CODE] use [CODE] for ( int j = 2; j <= sqrt(num); j++){ [/CODE] This will shorten the run time by a large magnitude. Regards, Ubaidullah Nubar. |
The End.