Title |
User |
Message |
Date Posted |
Re: Re: Code |
Dan |
I submitted the wrong file (2 a1.java files). Sorry! |
Jul 02, 2012 - 7:27:56 pm UTC |
Re: Re: Code |
Dan |
Thanks guys. I pasted my code instead of submitting the file, and it worked. I got 100/100. |
Jul 02, 2012 - 7:23:01 pm UTC |
Re: Code |
bbi5291 |
It's likely that you're doing Something Bad that is corrupting memory and giving you the nulls. In particular, in one case your output contains no space at all, which looks impossible given your code.... |
Jul 02, 2012 - 7:16:54 pm UTC |
Re: Code |
jargon |
Your code outputs: 1 null COLUR when the correct answer is: 1 COLOR You should also read these guidelines -- specifically, the important note. |
Jul 02, 2012 - 7:10:53 pm UTC |
Code |
Dan |
My code works perfectly with the test cases, and the one with the spaces mentioned above in the comments. However, I am getting a score of 0. Any reasons as to why this is? |
Jul 02, 2012 - 7:00:15 pm UTC |
Re: Re: Clarification |
phama0662 |
alright thanks I got it now. |
May 17, 2012 - 5:08:32 pm UTC |
Re: Clarification |
jargon |
A test case may be: 2 3 THIS IS A TEST 5 JUST CHECKING for which the output would be: 1 THS IS A TEST 2 JUSTCHECKING |
May 16, 2012 - 6:45:09 pm UTC |
Clarification |
phama0662 |
So you've said that the input string will contain spaces. Does that mean we should include the space as a char to remove or just take the first word before the space? |
May 16, 2012 - 6:13:40 pm UTC |
Re: Re: Accoring to the question |
ImbaCalvin |
Thank you for promptly reply. |
May 06, 2012 - 5:06:54 pm UTC |
Re: Accoring to the question |
jargon |
That's an error in the problem statement that has yet to be fixed. The input will include spaces. |
May 06, 2012 - 4:33:30 pm UTC |