
-----------------------------------
Vengeance101
Wed Nov 25, 2009 7:34 pm

If no other point is reachable, the output line is just the &quot;n:&quot;, with no trailing spaces.
-----------------------------------
I wasn't aware that this implied that no trailing spaces should appear in the output in the case a point is reachable. Stupid problem description!!!! Stupid Dwite!!!!   :(

-----------------------------------
A.J
Wed Nov 25, 2009 7:48 pm

RE:If no other point is reachable, the output line is just the &quot;n:&quot;, with no trailing spaces.
-----------------------------------
hey hey

Do not blame the contest. Also, you should not put trailing spaces anyways, as their sample output did not have any.

I thought DWITE is going really well, good job Tony and Dan =)

-----------------------------------
Tony
Wed Nov 25, 2009 8:38 pm

RE:If no other point is reachable, the output line is just the &quot;n:&quot;, with no trailing spaces.
-----------------------------------
@Vengeance101: how would you have worded the description to make the expected format more clear?

-----------------------------------
bbi5291
Wed Nov 25, 2009 8:40 pm

Re: If no other point is reachable, the output line is just the &quot;n:&quot;, with no trailing spaces.
-----------------------------------
I think that all trailing spaces should be ignored. There is no reason to add the element of tricky output to a problem which is really intended to test your ability to use DFS/BFS...

-----------------------------------
Vengeance101
Thu Nov 26, 2009 7:30 am

RE:If no other point is reachable, the output line is just the &quot;n:&quot;, with no trailing spaces.
-----------------------------------
I second what Brian says!!! 

And I would have simply said that "no space should follow the last reachable point of interest for each line of output" or something like that...may God smite thee, devil!  :x

-----------------------------------
Tony
Thu Nov 26, 2009 2:07 pm

Re: RE:If no other point is reachable, the output line is just the &quot;n:&quot;, with no trailing spaces.
-----------------------------------
@Dan -- can the judge strip trailing whitespace for future rounds?

@Brian -- I don't see how that was "tricky output", enough people seem to have gotten it right. Edit: unless you think it's much easier to just pad spacing on the right -- let me know.

@Vengeance101 -- but that doesn't describe the lines that have no "last reachable point".

The question did say:

separated by a single space

as in
may God smite thee, devil!  :x
We have a strict "no smiting" pact. That would have to wait at least until after re-negotiations.

-----------------------------------
Dan
Thu Nov 26, 2009 2:10 pm

Re: RE:If no other point is reachable, the output line is just the &quot;n:&quot;, with no trailing spaces.
-----------------------------------
@Dan -- can the judge strip trailing whitespace for future rounds?


If you never want to count whitespace on the end, it will be no problem.

I blive this issue came up before but we where woried about cases where it is counted. However i think that was more for beging white space then ending white space.

-----------------------------------
Tony
Thu Nov 26, 2009 2:16 pm

RE:If no other point is reachable, the output line is just the &quot;n:&quot;, with no trailing spaces.
-----------------------------------
I shouldn't want to count trailing white spaces... I'll remind you again when we are setting up for the next round.
