From: Jan "Yenya" Kasprzak Date: Tue, 30 Nov 2021 12:28:48 +0000 (+0100) Subject: Task 9 Perl Golf-style X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=a6e8d2a482d94b74862c768a6e757deba0520795;p=aoc2020.git Task 9 Perl Golf-style --- diff --git a/9-golf.pl b/9-golf.pl new file mode 100644 index 0000000..d941993 --- /dev/null +++ b/9-golf.pl @@ -0,0 +1 @@ +perl -lnE 'y/FBRL/0110/;$x=$_ if$x<$_}{say oct"0b$x"'