Problem 4:
Written in Sporkl:
int max_prod = 999*999;
int i, j;
for ( i=max_prod; i>0; --i )
{
if ( is_palindrome(i) )
{
for ( j=999; j>=100; --j )
{
float fi = i;
float f = fi / j;
if ( f>999 )
{
break;
}
if...
I use Ubuntu exclusively both at home on my Acer laptop + home servers as well as on my desktop at work.
It's a fine OS, and in fact now's a good time to try it out, as they've just release their latest long term support ("LTS") version 10.04.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.