From c4ccbb26eb61d8f4b6502a8326514193ac7e9a7e Mon Sep 17 00:00:00 2001 From: Dimitri Lozeve Date: Mon, 11 May 2020 09:30:32 +0200 Subject: [PATCH] Improve solution to problem 7 task 1 --- Contest2020/Contest2020.dyalog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Contest2020/Contest2020.dyalog b/Contest2020/Contest2020.dyalog index 4b964c3..b9461f5 100644 --- a/Contest2020/Contest2020.dyalog +++ b/Contest2020/Contest2020.dyalog @@ -117,8 +117,8 @@ ∇ ⍝ 2020 APL Problem Solving Competition Phase II - ⍝ Problem 7, Tasl 1 - CheckDigit - CheckDigit←{10|-10|⍵+.×11⍴3 1} + ⍝ Problem 7, Task 1 - CheckDigit + CheckDigit←{10|-⍵+.×11⍴3 1} ∇ bits←WriteUPC digits ⍝ 2020 APL Problem Solving Competition Phase II