Search found 2 matches

by ahaarrestad
Thu May 20, 2010 9:06 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 321002

Re: how to communicate with the judge?

Got it.

By looking at the example (http://acm.uva.es/problemset/data/p100.java.html), and the hints on how to start submitting solutions (http://online-judge.uva.es/board/viewto ... f=1&t=3015) I got it.

* output exactly what they ask (don't swap input parameters)
by ahaarrestad
Thu May 20, 2010 5:17 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 321002

how to communicate with the judge?

Hi.

I'm trying to learn how to communicate with the judge.... I found the "3n+1" problem suitable for this task.

I keep getting "wrong answer" when using this code:

public static void main(String[] args){
Scanner input = new Scanner(System.in);
String nextLine = null;
Scanner line = null ...

Go to advanced search