Solve problem 4 task 2

This commit is contained in:
Dimitri Lozeve 2020-05-10 14:39:22 +02:00
parent 199a027e6b
commit 710815ad49

View file

@ -53,11 +53,10 @@
r←↑({isrevp dna[¯1+⍵[1]+⍳⍵[2]]}¨positions)/positions r←↑({isrevp dna[¯1+⍵[1]+⍳⍵[2]]}¨positions)/positions
∇ r←sset n ⍝ 2020 APL Problem Solving Competition Phase II
⍝ 2020 APL Problem Solving Competition Phase II ⍝ Stub function for Problem 4, Task 2 - sset
⍝ Stub function for Problem 4, Task 2 - sset ⍝ Put your code and comments below here
⍝ Put your code and comments below here sset←{((1E6|2∘×)⍣⍵)1}
∇ r←amounts rr rates ∇ r←amounts rr rates
⍝ 2020 APL Problem Solving Competition Phase II ⍝ 2020 APL Problem Solving Competition Phase II