Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. rolls=: 4 5 5 5 0 10 2 3 4 5 4 5 4 5 10 5 5 4 5
  2. shouldbe =: +/ 9 10 12 5 9 9 9 20 14 9
  3. sfx =: 0 2 4 6 8 10 12 14 15 17
  4. fx=: 13 : '(2*i.2%~(20<.+/1+10=y)){(1+10=y)#i.#y'
  5. sf=: 13 : '(y+1|.!.0 y)+(2|.!.0 y)*9<y+1|.!.0 y'
  6. sc=: [:+/fx{sf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement