[java] Does anyone know of any way to deal with those really BigNumber problems in JAVA?
Thank you[/java]
How to deal with really BIG numbers in JAVA?
Moderator: Board moderators
You mean you can submit several classes in the same file (like this:Maniac wrote:Yes, I do. Make your own BigInteger class and use thatSee other threads to find out how to implement a BigInteger class
class Xpto {
int atribute one;
int atribute two;
...
Xpto() {
}
public int methodOne() {
}
}
class Ypto{
public static void main(String args[]){
//code here
}
}
?
Does'nt this give you any error from the judge?
Anyway thanks a lot for your help
Yes you can submit several classes in the same file and that is exactly what you should do 
Note that:
- you can't use inner classes cause Java 1.1 (or the stone age version the UVA Judge uses) doesn't support them
- your main class should still be called Main and that one must contain the public static void main method.

Note that:
- you can't use inner classes cause Java 1.1 (or the stone age version the UVA Judge uses) doesn't support them
- your main class should still be called Main and that one must contain the public static void main method.