From 661f1d19721f00c3e45c0fa6dd98ad21e259b325 Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Thu, 5 Dec 2019 12:58:05 +0100 Subject: [PATCH] Day 05 --- Day 05/barcode.png | Bin 0 -> 8013 bytes Day 05/decode.py | 88 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 Day 05/barcode.png create mode 100644 Day 05/decode.py diff --git a/Day 05/barcode.png b/Day 05/barcode.png new file mode 100644 index 0000000000000000000000000000000000000000..a6be74895fb55cb51766fab67093cc5239c3efc5 GIT binary patch literal 8013 zcmeHsS5%W*)GZ$603s+Nc<2HGQUW5<+o4OB9=ddpUV^j)3!rqV(t~sYp%)<(r3L8_ zI-yJNC6qwO{mwteeY;Qh`5$ACtRy34ud>&gbMDC3I%-sR8Sj#ikWi_=Qr0IS`Rg2b z4kP~ycodQ?odC>jUqy98a&q#yW!)tb5;jtGWd*~4tiAbn76v9vWQVj*c4J@MQBc4} zeTg#ne!rxe1vxO;DVb=9YdAxiH8wO*GuPMaC}VHanW%gP@$p6Nwx0I}5G8~Q*(uoX zke?Hv^4H!z2T+fpR(qMI^LzC0VIC^Gy{;_|P5-Ox!f=QPezc=PWLUYuRMk6(?s zn1N?K^9tOl(@7%r4%Re=8`-o)XkB!@++OlvA0HX|fi&^Rc9KD5$3X zg(|u<(U`(LRzjEZr1-oboYtw+#irCQ)J%ez=Gnt~+m0f$^N^)udNZ)N%~Q~BbBKwb ze1340>ios&ZvM9~`N5XDfV9g{?_Cb@O{qIQ4&n`CUYC;J{WS$XG0;X8=(^suZ%JHX6LJH6Z z>qp~G3dGBLw~&cKw<5u1*_TJbD3pp8xxKB+G*w45xCjv%Jzt89{`hz-N_~|p zob9kxk#eW#3ru9c*-K4-{O{k3-g9zLG*lLwPVbMsUliWmsS@9D)z)4>7*Eo;z4sV6 z1Gz5j{kH(?sF->iFau!%WPnMdFr@~}bJ`kaz`WtMmjujDtzI9%yifnS1{e~N|NY|s z1_!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