Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
#lang transd
|
||||
|
||||
MainModule : {
|
||||
_start: (λ
|
||||
(with fs FileStream() words String()
|
||||
(open-r fs "D:\\Temp\\wordlist.txt")
|
||||
(for line in (read-lines fs) do
|
||||
(with days (split line " ") len 0
|
||||
(for w in days do (for y in days do
|
||||
(if (neq w y) (= len (max len (coincide w y))))))
|
||||
(lout (+ len 1) " " days))
|
||||
) ) )
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue