Re: [gcj] Runtime Error problem about input and output

2019-02-14 Thread Ayyuce Demirbas
On Wednesday, February 13, 2019 at 7:52:24 PM UTC+3, Bartholomew Furrow wrote:
> Nah, that's Java, and you can do that. Ayyuce, what happens if you compile 
> and run your code on your own machine, using the sample data as input? If you 
> get a crash there, you should get a stack trace.

It works on my computer

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/259d7492-95d2-42b8-959f-7e909d6bb0fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gcj] Runtime Error problem about input and output

2019-02-13 Thread Ayyuce Demirbas
Hello,


I am trying to submit my solution but I get a runtime error. I think the 
problem is about input and output.


I use these ways to receive inputs and write outputs


//For inputs

 Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));

//For outputs

   System.out.println("Case #" + i + ": " + (n + m) + " " + (n * m));



How can I solve this problem?


Thank you so much!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/cae3d61d-dbfe-48de-bd52-69c457522378%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.