Search found 5 matches

by Tritri
Sat Mar 18, 2006 12:09 pm
Forum: Volume 3 (300-399)
Topic: 393 - The Doors
Replies: 5
Views: 2497

I try to solve this problem but the response was allways WA too... and this problem is very difficult to test and debug. Can someone who has solved this prob. try to pass this test and say the correct result?? 18 1 3 3.5 8.5 9 1.5 1 3 4 5 1.7 0.5 0.6 0.7 1 2 8.4 8.5 9.5 9.6 2.1 1 2 3 4 3 3 3.5 8.5 9...
by Tritri
Sun Mar 12, 2006 7:25 pm
Forum: Java
Topic: Compile error
Replies: 4
Views: 4009

How can be that:

((Short)stack.peek()).shortValue();


returns compile error, and:

Stack sss = stack;
((Short)sss.peek()).shortValue();

works ??
by Tritri
Mon Mar 06, 2006 9:54 pm
Forum: Volume 3 (300-399)
Topic: 393 - The Doors
Replies: 5
Views: 2497

Hi, I'm think your code forces the path to past just over the vertex and if you see the example you will see that the solution can 'pass' across the door without 'touch' it.
by Tritri
Mon Mar 06, 2006 10:04 am
Forum: Java
Topic: Compile error
Replies: 4
Views: 4009

I don't know that the file must called Main.java
Now the program compiles, but I get 'Time exceeded limit', supose it's a problem reading input. I will investigate that.

Thanks you Darko.
by Tritri
Mon Mar 06, 2006 2:08 am
Forum: Java
Topic: Compile error
Replies: 4
Views: 4009

Compile error

Hi, I'm a beginner and I'm trying to submit a problem and always get the same 'Compilation Error' response from the Judge.

I try to write a simple Hello World program but the result was the same. Do you know if there is a problem with the compiler or I don't know to write a HW program?

Greetings.

Go to advanced search