|
|
back to boardI suppose that my solution is correct. The output size is constant for the given length of input. So, there are only two possibilities: 1. You compile output file not correctly. 2. You test output on more slowly machine. Thanks. I use such algorithm. For each 8 symbols I generate 7 symbols in archive in following way: bits of last symbol I share in those 7 symbols (by adding/not adding the total count of accepted symbols). So I can't make archive larger than source. I see only two possibilities: or archive got CE, or it got TL. I can post my source. Thanks. The classical way to solve this (not very difficult) problem is to use LZW-compression. But your WA(1) seems to be interesting for me :) Post your source to dimanyes@mail.ru |
|
|