Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
(de water (Lst)
|
||||
(sum
|
||||
'((A)
|
||||
(cnt
|
||||
nT
|
||||
(clip (mapcar '((B) (>= B A)) Lst)) ) )
|
||||
(range 1 (apply max Lst)) ) )
|
||||
(println
|
||||
(mapcar
|
||||
water
|
||||
(quote
|
||||
(1 5 3 7 2)
|
||||
(5 3 7 2 6 4 5 9 1 2)
|
||||
(2 6 3 5 2 8 1 4 2 2 5 3 5 7 4 1)
|
||||
(5 5 5 5)
|
||||
(5 6 7 8)
|
||||
(8 7 7 6)
|
||||
(6 7 10 7 6) ) ) )
|
||||
Loading…
Add table
Add a link
Reference in a new issue