2026-02-01 16:33:20 -08:00
|
|
|
function longest(integer l)
|
|
|
|
|
object line = gets(fn)
|
|
|
|
|
if line=-1 then return l end if
|
|
|
|
|
if l>length(line) then return longest(l) end if
|
|
|
|
|
l = longest(length(line))
|
|
|
|
|
if l=length(line) then
|
|
|
|
|
puts(1,line)
|
|
|
|
|
end if
|
|
|
|
|
return l
|
|
|
|
|
end function
|
2023-07-01 11:58:00 -04:00
|
|
|
|
2026-02-01 16:33:20 -08:00
|
|
|
{} = longest(0)
|