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

2019-02-14 Thread aabhas chawla
Can you share your code. For java, class name has to be Solution and needs to be public. Also, verify package dependency. On Thu, Feb 14, 2019 at 8:58 AM Ayyuce Demirbas wrote: > On Wednesday, February 13, 2019 at 7:52:24 PM UTC+3, Bartholomew Furrow > wrote: > > Nah, that's Java, and you can

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

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

2019-02-14 Thread aabhas chawla
Runtime error sometimes mean there is an issue with code and exception is being thrown. If it was output issue, then you would have got wrong answer as result. On Wed, Feb 13, 2019 at 9:23 AM Ayyuce Demirbas wrote: > Hello, > > > I am trying to submit my solution but I get a runtime error. I

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

2019-02-13 Thread Luke Pebody
Yeah I used it once 11 years ago. Some aspects of the syntax might have been forgotten. I use C# for work and I know their syntaces are somewhat similar. Don't know the differences. On Wed, 13 Feb 2019, 11:56 am Bartholomew Furrow Luke, you've just made me go through go-hero.net/jam to see

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

2019-02-13 Thread Bartholomew Furrow
Luke, you've just made me go through go-hero.net/jam to see whether you ever used Java before. Apparently you used it for Round 1A's problem B in 2008, and apparently not since then. I guess the dozens of languages you used in between provide *some* excuse for not remembering. On Wed, Feb 13,

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

2019-02-13 Thread Bartholomew Furrow
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. -- You received this message because you are subscribed to the Google Groups "Google Code

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

2019-02-13 Thread Luke Pebody
Guessing the error is in the out: you are adding a string to an integer. This works in JavaScript but not in most languages. Which language are you using? On Wed, 13 Feb 2019, 11:23 am Ayyuce Demirbas Hello, > > > I am trying to submit my solution but I get a runtime error. I think the > problem