|
|
вернуться в форумWhat am I missing ? 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 ? Read correct the task !! There you can see that then last line contains '.' not ',' ! Re: What am I missing ? 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 ? 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 ? Послано Owidp 17 фев 2013 11:56 +10086 |
|
|