0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-26 07:12:05 +00:00
OI-codes/S2OJ/1272/data/palindrome4.in

3157 lines
11 KiB (Stored with Git LFS)
Plaintext

100
35
yez
zqf
gv
lhm
ve
tjk
qnv
ht
uv
cg
nqo
mu
yl
ura
cv
kr
slc
jsl
uwx
juz
zct
bl
xz
pv
hmy
ir
vjd
hr
vy
dr
qrq
wyh
wnj
aj
cgx
37
drb
fp
kw
jak
wi
en
ir
bm
ve
cne
ovt
jq
fu
lof
no
eo
nkx
uc
fg
zly
nib
tf
kem
ufr
iwd
cg
mtr
sr
nzc
vn
xqs
gp
vh
bex
zb
plz
il
40
duz
cl
xh
bb
moo
su
go
ro
vvs
knp
qpb
ogd
zvs
ks
cq
mq
uk
rjy
tmn
vjd
lu
oto
qv
tjw
px
tir
tx
lz
gq
kpm
pw
zsv
rf
ym
fif
mq
mbq
tx
blg
qy
24
qzf
ye
xb
hyk
kbj
sic
ov
enm
yoz
obq
ne
ip
tgl
kt
xf
osm
eqy
ccf
mtt
ec
mb
ssh
ma
fjm
40
vaw
ud
ta
mwa
ih
ktv
se
zow
zr
eq
ekx
eyb
cx
wz
gsy
ti
iu
gt
rt
ai
fke
dqe
nq
etk
avb
al
pk
vgn
ez
rd
icy
tkw
dtf
gt
joa
qa
jia
mvc
te
uw
28
sqi
xy
xx
xdg
daf
egk
des
zlb
aa
zsq
uxo
lsu
aji
xkv
nmy
uw
ic
rjt
hjp
ix
xb
nep
chy
ac
txj
aha
zyp
vhl
33
hv
yt
pn
kd
zhm
bws
njp
rdq
rx
vd
le
ki
dy
wb
ou
bz
dl
bfq
ed
aw
sz
eze
xrb
bym
jjj
td
jy
tdh
mwm
jht
ly
fmc
is
20
ax
we
gqo
hrl
ixp
qxf
nkn
yzb
trk
iib
sg
mvq
mr
xq
bv
uor
oyl
kx
wm
bz
35
dm
rvw
axo
da
zv
zdi
hm
cjs
jj
pb
ltb
et
pt
ntu
vdd
yri
iiv
pdk
qe
b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