wtmcc·8 năm trước·discussThe compression is basic run-length encoding, leveraging the Perl repetition operator (x), and the property of the Perl print/say functions that they concat items passed in a list before writing to STDOUT.https://en.wikipedia.org/wiki/Run-length_encodinghttps://perldoc.perl.org/perlop.html#Multiplicative-Operator...https://perldoc.perl.org/functions/say.htmlhttps://perldoc.perl.org/functions/print.html
https://en.wikipedia.org/wiki/Run-length_encoding
https://perldoc.perl.org/perlop.html#Multiplicative-Operator...
https://perldoc.perl.org/functions/say.html
https://perldoc.perl.org/functions/print.html