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

Обсуждение задачи 1307. Архиватор

Is there someone who passed this problem on CPP?
Послано Flyer 20 июл 2004 00:14
I mean "archive" is c/cpp
Послано Flyer 20 июл 2004 15:28
May be any hints?
I used CPP in archive too (+)
Послано Vladimir Yakovlev (USU) 21 июл 2004 14:14
My pack/unpack algorithm is LZ77.
I got WA for several times because of CE of Archive. A hint: if you store archive in char[] constant, you should replace some characters with their codes (e.g. 10 with \n). These characters are: 0, 10, 34, 92.

Edited by author 29.07.2004 17:55
I can't get AC with CPP!
Послано Died 21 июл 2004 16:09


Edited by author 21.07.2004 16:09
Re: I used CPP in archive too (+)
Послано Saturn 21 июл 2004 16:11
I can't get AC with CPP archive(I didn't use any characters if range 0..32 and didn't use ",\)

The same solution in PASCAL got AC in 0.07 sec.
http://acm.timus.ru/status.aspx?space=1&pos=644808

Edited by author 21.07.2004 20:21
Escape characters (+)
Послано Michael Rybak (accepted@ukr.net) 15 фев 2006 08:29
You should review the judging of this problem, because I

1. Got AC
2. Looked at forum and read your post, figuring out that I didn't care about the \" character (34)
3. Checked that input files *may* contian it by deadlocking my program and gettin TL
4. Added encoding of \" and got AC again.
5. Am not sure if I missed anything else :)
(-)
Послано Michael Rybak (accepted@ukr.net) 15 фев 2006 08:33
-

Edited by author 15.02.2006 08:34