Improve solution to problem 7 task 1
This commit is contained in:
parent
90a708c5fc
commit
c4ccbb26eb
1 changed files with 2 additions and 2 deletions
|
@ -117,8 +117,8 @@
|
||||||
∇
|
∇
|
||||||
|
|
||||||
⍝ 2020 APL Problem Solving Competition Phase II
|
⍝ 2020 APL Problem Solving Competition Phase II
|
||||||
⍝ Problem 7, Tasl 1 - CheckDigit
|
⍝ Problem 7, Task 1 - CheckDigit
|
||||||
CheckDigit←{10|-10|⍵+.×11⍴3 1}
|
CheckDigit←{10|-⍵+.×11⍴3 1}
|
||||||
|
|
||||||
∇ bits←WriteUPC digits
|
∇ bits←WriteUPC digits
|
||||||
⍝ 2020 APL Problem Solving Competition Phase II
|
⍝ 2020 APL Problem Solving Competition Phase II
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue