0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-25 18:12:04 +00:00
OI-codes/S2OJ/1272/data/palindrome5.in

3084 lines
10 KiB (Stored with Git LFS)
Plaintext

100
33
cqp
vcw
etw
otm
wh
md
vl
qof
kl
yms
se
vyk
xt
tf
ifx
ln
mbp
znv
ael
bcc
op
mk
bl
il
ox
qg
mna
xn
pd
qr
zab
imv
bp
25
bd
hr
ok
je
rk
vg
ije
xd
kz
gs
yf
kwi
vcl
amw
huz
qxz
zon
rrw
xos
iqx
dir
nay
hhg
jl
dj
25
dj
oel
ctu
rv
sv
qe
ve
bu
pi
ahp
qj
ry
bo
xls
sfp
skk
fiw
cv
wun
wl
ley
dlc
wu
woq
qd
25
hkf
ic
wqm
fqp
nc
yq
pe
cwt
iwj
uw
qxu
ls
fv
gdy
obx
kma
ln
kbs
ojr
ba
csd
fl
lz
yht
dx
33
sg
zm
kpm
upo
yv
xzx
jr
xkn
ghp
ah
rli
dnq
tz
we
gn
td
yjo
fne
fs
il
rj
rl
ga
fcq
aw
yoy
dsd
qp
zu
vy
cxz
mn
fgt
28
ps
ec
nyc
to
swe
qrb
mgz
lod
tf
tp
skn
uh
pcm
obd
oc
gp
bo
iv
eq
vx
rt
qfu
nm
xvp
mx
zcy
epk
gmt
34
fhw
ehv
tw
fbm
jfv
uek
eta
xna
zs
cx
urw
qv
boq
af
bf
pf
kta
ina
gnp
uo
rq
jm
yz
khd
rsc
fj
ess
hcw
sa
gm
oi
ph
lq
ms
33
vzb
mvk
fs
zq
ra
kpd
kkn
swt
oe
ohp
vfo
jbo
aw
cw
xj
uw
sc
gpd
cm
toi
ae
nq
xh
vdn
bq
nu
qzn
tow
ga
fe
at
kor
ac
29
yu
vwe
tz
cui
jv
rui
rat
pm
mr
pte
zs
mr
jmr
gyq
kpu
yui
wmx
uca
ye
ng
kja
now
vye
yq
pvw
qje
gk
ky
it
35
dwa
an
wr
udj
gy
et
prb
tqj
ds
fch
gfc
byt
ec
sg
usi
ki
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nt
tfv
yt
gw
xjv
mks
pes
un
emc
kcr
nez
bc
vyb
grm
vck
at
37
au
ak
ge
rja
rp
au
ams
nqq
qfl
rs
gg
yk
pe
lse
nqr
td
xk
keu
hbn
ra
ae
er
cw
gq
qpv
mq
kah
quv
pl
vm
erm
th
qc
yye
ho
dnv
vh
22
lvt
kag
lqm
hp
mz
thi
hz
hkr
nrs
li
ozj
isf
nyx
od
or
wg
hzo
unk
pr
sru
sde
dlg
25
xbj
nu
cie
khj
ror
hsb
ez
uu
np
vqo
rc
drc
kha
zl
nut
dw
lja
kv
lns
it
hg
srw
vkr
ou
kh
40
ayy
wz
ws
sib
cls
rk
wgf
agc
yq
xuv
yi
kv
rad
hkd
qm
oe
mf
id
qfd
ng
en
ft
uer
pse
urc
df
exx
mzx
dvz
xe
amf
fc
efm
fqq
wsp
pmr
idv
ckh
de
ucd
21
rgx
dkb
zd
hz
pyy
kv
quo
xx
ora
dz
rd
ge
dxg
rk
kq
ej
txt
gfw
wbm
utv
mav
30
rpb
vcz
tt
av
do
xa
vh
kzu
yh
jup
fbu
tq
cgk
cc
fpq
imf
ow
da
ebf
jb
py
vn
bx
eqs
cg
ny
jx
ba
jw
zjj
29
ux
jca
wtv
on
wg
sof
muw
aa
czv
qd
reh
ug
on
bez
wr
oyg
nph
pb
gcx
zcc
pi
db
tfc
rqh
se
mcj
csq
qz
ef