| |

VerySource

 Forgot password?
 Register
Search
View: 2159|Reply: 8

Compilation of compression algorithms!

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-1 12:00:01
| Show all posts |Read mode
About compression algorithms, such as 1111112436666445555
After compression is 61, -3243, 46, 24, 45,
If there are the same characters, the first character is the same number of characters,
If different characters are connected together, the first character is a negative number, and its absolute value is the number of different characters, followed by different characters.
Do you understand?
Help me think of a way!
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-13 14:30:02
| Show all posts
Good academic algorithm ~~~
Reply

Use magic Report

0

Threads

23

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-3-30 02:00:01
| Show all posts
A bit similar to the compression method of pcx images.
Reply

Use magic Report

0

Threads

3

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-4-17 13:45:01
| Show all posts
Halo ~~
Reply

Use magic Report

0

Threads

3

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Unknown

Post time: 2020-4-17 14:00:02
| Show all posts
As if i've seen it before
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-7-21 13:30:01
| Show all posts
Does anyone know horses?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-31 03:00:01
| Show all posts
The conditions given by the host are not clear. First of all, in which environment this thing is running, 16-bit or 32-bit, this must be clearly stated; secondly, if it is 16-bit, if the same number of characters exceeds the length of that byte , What to do. Third, what to do if the length of different characters exceeds 7 bits (the highest bit is reserved for the matching bit).
If these situations are not explained clearly, it is impossible to write code. If you can write these conditions clearly, it will only take a few minutes to write code.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-1 22:30:01
| Show all posts
RLE
Reply

Use magic Report

0

Threads

2

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2022-6-28 12:15:28
| Show all posts
这是游程算法,多用在图形压缩中。
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list