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

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

ile Help needed [6] // Задача 1008. Кодирование изображений 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.
ile Help needed // Задача 1008. Кодирование изображений 14 мар 2010 03:57
I also checked for line breaks in input and output files. nothing works
Konovalov Re: Help needed [4] // Задача 1008. Кодирование изображений 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,
,
.
ile Re: Help needed [3] // Задача 1008. Кодирование изображений 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... =(
Yaroman Re: Help needed [2] // Задача 1008. Кодирование изображений 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.
ile Re: Help needed [1] // Задача 1008. Кодирование изображений 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...
Owidp Re: Help needed // Задача 1008. Кодирование изображений 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...