add bigger wordlist
This commit is contained in:
parent
bc5227a212
commit
5d095cff1f
10
main.jl
10
main.jl
@ -21,8 +21,16 @@ function readInput()
|
||||
return sort(words)
|
||||
end
|
||||
|
||||
function readInput2()
|
||||
words = Vector{String}()
|
||||
for line in eachline("wordlist-german.txt")
|
||||
push!(words, line)
|
||||
end
|
||||
return sort(words)
|
||||
end
|
||||
|
||||
function longest()
|
||||
words = readInput()
|
||||
words = readInput2()
|
||||
maxLength = maximum(length, words)
|
||||
for w in words
|
||||
if length(w) == maxLength
|
||||
|
||||
1908815
wordlist-german.txt
Normal file
1908815
wordlist-german.txt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user