ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1008. Кодирование изображений

Help needed
Послано ile 14 мар 2010 03:55
Hey everyone,

I'm very frustrated. I spent couple hours on this problem and couldn't get it in Java. it's always WA#2. Can anyone give me some test data?

I know that input can be any of the two representations, and all test cases given in threads are passed.

I have really no clue, what's going on.
Help needed
Послано ile 14 мар 2010 03:57
I also checked for line breaks in input and output files. nothing works
Re: Help needed
Послано Konovalov 24 мар 2010 02:07
Image in first format:

10
1 1
1 2
2 2
2 3
2 4
2 5
3 1
3 2
4 2
4 3

Image in second format:

1 1
T,
R,
RT,
RB,
T,
T,
,
T,
,
.
Re: Help needed
Послано ile 26 мар 2010 02:08
Sorry for late reply!

Yes, that's exactly what I get. I don't think that the problem is within algo... I think there is some stupid mistake... something like extra line break or something else... =(
Re: Help needed
Послано Yaroman 20 июн 2010 16:31
The point is to read the statement thoroughly, more precise:
Input
One representation of the image will be given to your program in the input.
Output
Your program has to write other representation of the image to the output.
Re: Help needed
Послано ile 21 июн 2010 00:53
I guess you can apply it yourself!
I said that:
"I know that input can be any of the two representations, and all test cases given in threads are passed."

Read carefully before saying something...
Re: Help needed
Послано Owidp 17 фев 2013 07:59
I'm really agree with you!!!And now I haven't fixed my WA2 yet!!!How can that be!!Could you give me some idea,ile?I have checked my code for a few days...