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 1307. Archiver

Is there someone who passed this problem on CPP?
Posted by Flyer 20 Jul 2004 00:14
I mean "archive" is c/cpp
Posted by Flyer 20 Jul 2004 15:28
May be any hints?
I used CPP in archive too (+)
Posted by Vladimir Yakovlev (USU) 21 Jul 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!
Posted by Died 21 Jul 2004 16:09


Edited by author 21.07.2004 16:09
Re: I used CPP in archive too (+)
Posted by Saturn 21 Jul 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 (+)
Posted by Michael Rybak (accepted@ukr.net) 15 Feb 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 :)
(-)
Posted by Michael Rybak (accepted@ukr.net) 15 Feb 2006 08:33
-

Edited by author 15.02.2006 08:34