i would be... euphoric... if they update the compiler...
currently they are using a compiler that supports up to J2SDK 1.1...
if they update to atleast 1.2, atlease with the BigInteger class, many problems can be sloved within milliseconds!
Search found 32 matches
- Wed Dec 15, 2004 8:58 am
- Forum: Java
- Topic: Why don't show the Compilation Error Message from the gcj?
- Replies: 3
- Views: 3649
- Tue Nov 30, 2004 12:01 pm
- Forum: Algorithms
- Topic: Lists that might be useful [Prime, Fibonacci]
- Replies: 1
- Views: 1606
hmm... the list of Fibonacci Numbers from 0~10000 is 10 megs...
so instead i uploaded a list from 0~5000, 2.5megs...
http://r-pai.com/fib5000.txt
P.S. my listing might be different from yours...
so instead i uploaded a list from 0~5000, 2.5megs...
http://r-pai.com/fib5000.txt
P.S. my listing might be different from yours...
- Tue Nov 30, 2004 11:54 am
- Forum: Algorithms
- Topic: Lists that might be useful [Prime, Fibonacci]
- Replies: 1
- Views: 1606
Lists that might be useful [Prime, Fibonacci]
heres a list of primes from 2~1,000,000 http://r-pai.com/primes.TXT
and the number of digits of the N'th Fibonacci Number from 0~10000 http://r-pai.com/fib.txt
soon i will put on a list of Fibonacci Numbers from 0~10000
and the number of digits of the N'th Fibonacci Number from 0~10000 http://r-pai.com/fib.txt
soon i will put on a list of Fibonacci Numbers from 0~10000
- Tue Nov 30, 2004 11:36 am
- Forum: Volume 4 (400-499)
- Topic: 495 - Fibonacci Freeze
- Replies: 222
- Views: 60059
- Fri Nov 26, 2004 5:43 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10215 - The Largest/Smallest Box ...
- Replies: 55
- Views: 38436
- Fri Nov 26, 2004 5:34 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10215 - The Largest/Smallest Box ...
- Replies: 55
- Views: 38436
- Thu Nov 25, 2004 10:44 pm
- Forum: Java
- Topic: Useful Method to Format Decimals (BETA)
- Replies: 0
- Views: 2425
Useful Method to Format Decimals (BETA)
Try it, it formats a double to a certain decimal place you want
method description:
FormatDecimal(String in, int dec)
in = input, must be a double into a string
dec = number of decimal places
FormatDecimal(Double inp, int dec)
inp = input, must be a double
dec = number of decimal places
[java ...
method description:
FormatDecimal(String in, int dec)
in = input, must be a double into a string
dec = number of decimal places
FormatDecimal(Double inp, int dec)
inp = input, must be a double
dec = number of decimal places
[java ...
- Thu Nov 25, 2004 10:25 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10215 - The Largest/Smallest Box ...
- Replies: 55
- Views: 38436
- Tue Nov 23, 2004 2:10 am
- Forum: Off topic (General chit-chat)
- Topic: What kinds of problems do you solve most ?
- Replies: 25
- Views: 81427
- Tue Nov 23, 2004 2:06 am
- Forum: Java
- Topic: TO THE ADMINS OF UVA
- Replies: 1
- Views: 2585
- Thu Nov 18, 2004 5:46 pm
- Forum: Volume 4 (400-499)
- Topic: 488 - Triangle Wave
- Replies: 270
- Views: 64507
488 WA odd...
[java]import java.io.IOException;
import java.util.StringTokenizer;
class Main
{
static String ReadLn()
{
byte lin[]=new byte[25];
int lg=0,car;
try
{
while(true)
{
car=System.in.read();
if ((car<0)||(car=='\n'))
break;
lin[lg++]+=car;
}
}
catch(IOException e)
{
return(null ...
import java.util.StringTokenizer;
class Main
{
static String ReadLn()
{
byte lin[]=new byte[25];
int lg=0,car;
try
{
while(true)
{
car=System.in.read();
if ((car<0)||(car=='\n'))
break;
lin[lg++]+=car;
}
}
catch(IOException e)
{
return(null ...
- Thu Nov 18, 2004 6:55 am
- Forum: Volume 3 (300-399)
- Topic: 386 - Perfect Cubes
- Replies: 53
- Views: 17027
386 what is wrong
[java]for(int i=6;i<=200;i++)
{
for(int j=2;j<i;j++)
{
for(int k=2;k<=j;k++)
{
for(int l=2;l<=k;l++)
{
if(i*i*i==(k*k*k+j*j*j+l*l*l))
{
System.out.println("Cube = "+i+", Triple = ("+l+","+k+","+j+")");
}
}
}
}
}[/java]
{
for(int j=2;j<i;j++)
{
for(int k=2;k<=j;k++)
{
for(int l=2;l<=k;l++)
{
if(i*i*i==(k*k*k+j*j*j+l*l*l))
{
System.out.println("Cube = "+i+", Triple = ("+l+","+k+","+j+")");
}
}
}
}
}[/java]
- Tue Nov 16, 2004 11:22 pm
- Forum: Java
- Topic: Formatting decimal numbers in Java
- Replies: 6
- Views: 7361
Formatting decimal numbers in Java
Are there any effective ways of formatting decimal numbers (double) in pascal?
Eg: 3.1245114411 -> 3.12 or 3.125, etc....
Eg: 3.1245114411 -> 3.12 or 3.125, etc....
- Tue Nov 16, 2004 11:21 pm
- Forum: Pascal
- Topic: Fornatting Decimal in Pascal
- Replies: 3
- Views: 9745
Fornatting Decimal in Pascal
Are there any effective ways of formatting decimal numbers (double) in pascal?
Eg: 3.1245114411 -> 3.12 or 3.125, etc....
Eg: 3.1245114411 -> 3.12 or 3.125, etc....
- Tue Nov 16, 2004 2:54 am
- Forum: C++
- Topic: GCC in windows
- Replies: 3
- Views: 2725
GCC in windows
how would i install the GCC C++ compiler in windows XP Professional