Search found 4 matches

by jumbo
Thu Dec 04, 2008 9:14 am
Forum: Volume 105 (10500-10599)
Topic: 10527 - Persistent Numbers
Replies: 26
Views: 12062

Re: 10527 - Persistent Numbers

Oh, great! Thank you very much for help! I got AC!

It was in the intValue().

It worked even with System.in.available(), I used it in couple of solutions already. I foresee that "bug" can happen with this function, but I tried it and it works so far.

Thanks again!
by jumbo
Wed Dec 03, 2008 10:26 pm
Forum: Volume 105 (10500-10599)
Topic: 10527 - Persistent Numbers
Replies: 26
Views: 12062

Re: 10527 - Persistent Numbers

Thanks for reply.
Good news (for) everyone! ;)

So what about my code? It gives right output for the specified input. But how to test some more...uva toolkit does not contain 10527 problem solver, so it is hard to test this algorithm...
by jumbo
Wed Dec 03, 2008 7:29 pm
Forum: Volume 105 (10500-10599)
Topic: 10527 - Persistent Numbers
Replies: 26
Views: 12062

Re: 10527 - Persistent Numbers

Hello, I'd like to ask if I can use BigInteger class from package java.math.BigInteger in Java. I'm not getting any compilation error or runtime error, I am getting WA, so I assume that it is ok to use it, but just for assure. So can you look at my code and help me: import java.io.IOException; impor...
by jumbo
Wed Dec 03, 2008 7:29 pm
Forum: Volume 105 (10500-10599)
Topic: 10527 - Persistent Numbers
Replies: 26
Views: 12062

Re: 10527 - Persistent Numbers

Hello, I'd like to ask if I can use BigInteger class from package java.math.BigInteger in Java. I'm not getting any compilation error or runtime error, I am getting WA, so I assume that it is ok to use it, but just for assure. So can you look at my code and help me: import java.io.IOException; impor...

Go to advanced search