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

Bad condition generates wrong answer
Posted by bad 16 May 2001 23:13
First I also understand problem wrong. I remade my
solution, but get wrong answer again :(
I think that Sample Input and Output very bad and
programmer cannot understand the problem completely.

Mr. goodbye boy or somebody! Can you say, does this answer
right for this input?

Input:
8
2 3
2 4
2 5
2 6
3 3
3 4
4 2
4 3
Output:
RT,
RT,
T,
B,
,
,
T,
.

If this is wrong, please say the right. Thanks.
Re: Bad condition generates wrong answer
Posted by Lin Zi 30 Nov 2001 15:31
i think it's wrong.
I THINK the right is
RT,
RT,
T,
B,
,
T,
,
.
BUT I'M NOT SURE.
Re: Bad condition generates wrong answer
Posted by Song Chao (ECUST Mutistar) 10 Feb 2002 16:07
> i think it's wrong.
> I THINK the right is
> RT,
> RT,
> T,
> B,
> ,
> T,
> ,
> .
> BUT I'M NOT SURE.
Re: Bad condition generates wrong answer
Posted by Song Chao (ECUST Mutistar) 10 Feb 2002 16:09
> > i think it's wrong.
> > I THINK the right is
> > RT,
> > RT,
> > T,
> > B,
> > ,
> > T,
> > ,
> > .
> > BUT I'M NOT SURE.

I Got the same result,but where is the first line with "2 3"?
And my program hasn't been accepted now, who can help me by
giving some more testing data?
Re: Bad condition generates wrong answer
Posted by Lurker 14 Jun 2006 15:44
I agree with it:
2 3
RT,
RT,
T,
B,
,
T,
,
.
Song Chao (ECUST Mutistar) wrote 10 February 2002 16:07
> i think it's wrong.
> I THINK the right is
> RT,
> RT,
> T,
> B,
> ,
> T,
> ,
> .
> BUT I'M NOT SURE.
Re: Bad condition generates wrong answer
Posted by Alexander Prudaev 17 Jun 2006 00:25
RT,
RT,
T,
B,
,
T,
,
.
this anwer gives my AC program