ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1008. Image Encoding

What am I missing ?
Posted by _Ioone_ 9 Jul 2003 23:57
Sample Input:    Sample Output:
6                2 3
2 3              RT,
2 4              RT,
3 3              ,
3 4              B,
4 2              ,
4 3              .

I just wonder why there is only one comma on the end.
It seems that there should be two - first for squere "4 2" and second
squere "3 4".

So my question is what does this last comma referrs to ?
And obvious - why the other comma isn't in the output ?

Thank You.
Mike
Re: What am I missing ?
Posted by GodZilla 10 Jul 2003 02:30
Read correct the task !!


There you can see that then last line contains '.' not ',' !
Re: What am I missing ?
Posted by Gleb Grenkin 17 Aug 2005 12:44
Point ends last line of input.

Last line is NOT ONLY POINT!
Last line may be the following:
RT.

POINT using at the last line instead of comma.
Re: What am I missing ?
Posted by Liu Guyue 12 Nov 2005 19:23
well i think
it must be '.' at last..
because if it can go on .. it will print R L T  B ..

when print '.'   it means at this time it can't go ...
Re: What am I missing ?
Posted by Owidp 17 Feb 2013 11:56
+10086