Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -6,21 +6,21 @@ list = {}
|
|||
for w in fp:lines() do
|
||||
ordered = true
|
||||
for l = 2, string.len(w) do
|
||||
if string.byte( w, l-1 ) > string.byte( w, l ) then
|
||||
ordered = false
|
||||
break
|
||||
end
|
||||
end
|
||||
if string.byte( w, l-1 ) > string.byte( w, l ) then
|
||||
ordered = false
|
||||
break
|
||||
end -- if
|
||||
end -- for
|
||||
if ordered then
|
||||
if string.len(w) > maxlen then
|
||||
list = {}
|
||||
list[1] = w
|
||||
maxlen = string.len(w)
|
||||
elseif string.len(w) == maxlen then
|
||||
list[#list+1] = w
|
||||
end
|
||||
end
|
||||
end
|
||||
if string.len(w) > maxlen then
|
||||
list = {}
|
||||
list[1] = w
|
||||
maxlen = string.len(w)
|
||||
elseif string.len(w) == maxlen then
|
||||
list[#list+1] = w
|
||||
end -- if
|
||||
end -- if
|
||||
end -- for
|
||||
|
||||
for _, w in pairs(list) do
|
||||
print( w )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue