YAPC::EU 2018 Glasgow Update!
This commit is contained in:
parent
22f33d4004
commit
4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions
|
|
@ -4,8 +4,8 @@ sequence res = ""
|
|||
if a[$]=b[$] then
|
||||
res = lcs(a[1..-2],b[1..-2])&a[$]
|
||||
else
|
||||
sequence l = lcs(a[1..-2],b),
|
||||
r = lcs(a,b[1..-2])
|
||||
sequence l = lcs(a,b[1..-2]),
|
||||
r = lcs(a[1..-2],b)
|
||||
res = iff(length(l)>length(r)?l:r)
|
||||
end if
|
||||
end if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue