Search found 2 matches

by Malohkan
Mon Oct 11, 2004 9:27 pm
Forum: Volume 106 (10600-10699)
Topic: 10699 - Count the factors
Replies: 27
Views: 16559

I now use:

Code: Select all

String line = ReadLn(255);
while (!line.equals("0")) {
	//blah blah
	//blah blah

	System.out.println(answer);
	line = ReadLn(255);
}
And it got accepted, woo! Thank you very much!
by Malohkan
Sat Oct 09, 2004 1:20 am
Forum: Volume 106 (10600-10699)
Topic: 10699 - Count the factors
Replies: 27
Views: 16559

gcj: Internal compiler error: program jc1 got fatal signal 1

I submitted a solution to problem 10699 and got this error:

gcj: Internal compiler error: program jc1 got fatal signal 11

Here is my code:

import java.io.IOException;

//10699
class Main {

static String ReadLn (int maxLg) { // utility function to read from stdin
byte lin[] = new byte [maxLg ...

Go to advanced search