0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-02 18:56:28 +00:00
OI-codes/S2OJ/1272/data/palindrome6.in

2956 lines
10 KiB (Stored with Git LFS)
Plaintext

100
31
ibm
igp
tq
gnq
vf
nuh
aey
ib
wxj
uf
bsd
ot
snx
tc
msl
vd
ce
bxt
xo
xh
oqj
bn
ht
mk
dt
fqy
yh
mgr
dq
pft
ujn
20
tx
dzc
se
awg
aei
hp
mm
kqi
bld
acv
md
hs
vw
pfp
rl
gkd
vho
bpt
sij
dss
29
kv
ddw
es
kb
kuu
jdo
rx
ngi
pgi
esk
ldx
dt
sm
xui
ih
tvt
kch
et
ex
lx
awt
cg
xmx
ga
em
erf
gvd
ut
ktw
40
fzk
gnc
gj
za
em
nz
up
me
kcp
em
tz
mo
ihz
wb
lj
uu
ro
jv
jd
rgu
bbd
rse
hgo
bqz
si
lik
ct
yd
qpm
zs
hhm
mai
kn
wc
kw
eba
fu
uog
jkx
pqh
29
ij
ulm
qs
bqn
rb
gu
awg
mx
ss
ar
sf
owi
dy
ja
mr
hqu
nyf
thv
ebv
pr
rk
jes
hx
fb
ep
ppp
gf
cp
mcn
21
hf
gx
xx
ome
ymu
oa
za
blb
trz
tfw
wv
zen
let
kw
wa
qi
sef
shb
fnz
os
wh
35
bqc
ivt
hd
mj
izt
ty
kc
yx
gu
xbx
ydb
leg
fpb
jnr
gol
jo
nf
qix
ty
pru
puz
knv
uun
bou
vih
zyf
dq
mgz
bm
qbz
vi
lib
gzr
hrb
hu
26
bh
wzl
iti
zq
ko
sc
ea
fnm
zzm
jrr
th
svt
rg
dw
me
phb
klg
aul
wku
kv
rj
nfv
mx
dh
dx
jtt
23
dla
kej
kx
ve
qw
fmr
kal
pgp
yfu
qox
jhu
bo
dnp
lmr
kr
iv
qgm
hr
fs
job
ac
arj
cq
39
ya
yay
es
ppx
ciy
olq
tj
qws
odi
gdr
rvf
xsi
dc
xi
hph
qn
loe
uj
fm
ghg
wgq
tbg
ion
ny
nbx
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l
oh
yef
apy
amg
ft
hij
wz
kfj
nn
zgu
imm
26
ls
rtx
sn
ac
pp
wqb
zic
cj
mg
zq
gpc
aw
ih
rvl
cjg
ta
cb
lvg
adw
rob
uvz
dgq
zwf
num
lsy
zp
27
hb
dn
mza
zu
qca
btp
vop
tb
zxn
zkc
gq
vx
av
av
iam
wv
bbb
pp
hls
ffr
kr
mq
lfl
yqw
wrv
mv
fyy
22
qnq
eo
sup
zr
dt
bno
fdw
xdw
mww
iya
mob
pes
ha
ou
zkk
sq
pp
cc
mtc
re
uv
eh
33
gc
mci
ox
gtw
vor
za
pza
dto
tg
shn
twu
gyb
mb
hg
ksd
eus
wf
hva
wex
vqi
akx
dj
lws
obc
pyz
kqo
jl
tn
qfl
aqe
rew
hlx
da
40
nyk
dm
rrf
pa
esk
khr
mt
lz
df
aj
lhn
je
rw
ll
ja
ont
zy
jn
idi
lk
xe
kfv
ovt
nv
hh
ni
ua
vl
ozv
ov
fx
jt
xix
yhq
wyc
prn
qb
rp
uo
ry
25
jyu
nyd
aa
go
eco
bvu
gug
sva
lw
xmn
eel
mh
jiv
wwb
sw
hgv
wd
iqu
uxu
sz
uc
hix
vn
dk
rr
23
rsf
sn
qyb
jd
fx
tf
ovj
qw
wr
cmm
ipx
up
jon
opl
rcj
jm
ct
avj
an
haw
je
rao
jz
25
de
jq
fcz
yho
vr
evd
ov
bj
nq
cb
hd
jt
zfv
ur
zli
wty
zgk
yud
xxs
wwo
uzs
so
gch
joi
bu
32
scj
qpt
eyj
bk
gdn
nn
ic
yi
jfa
it
wh
sa
qo
ra
fm
vz
icz
ksq
zs
yhr
cng
mo
mn
of
yh
adb
ljj
lc
txg
wq
ym
kui
27
jbd
rdq
za
sr
ic
nyn
ogw
ygw
hb
dqb
to
bfr
jut
pvu
nye
toy
rob
oal
ts
mnb
cxl
yj
msc
lsu
zs
qo
nj
23
esm
xn
cmp
epa
kz
qau
pt
gsa
rdy
ca
vip
rug
ktn
mx
wc
gt
rs
xfd
lx
don
sl
yg
kjp
28
fx
ges
vn
iq
whu
rv
rzq
onj
yq
mor
ay
lr
hgr
ckq
otz
oa
wpb
lcg
kv
gwj
ywa
af
giu
vz
ya
jij
tuj
jr
29
ll
sun
hj
uzs
pb
be
jp
dji
ss
si
qsq
brg
wnl
kus
nu
nce
ha
pn
xt
cg
rwl
kku
uwd
lzc
tfe
ech
nbp
pbo
an
27
evt
wdk
ft
bej
ta
oyx
tt
cyf
pse
bh
cgm
vqb
xq
yyw
jt
kwx
gts
jqu
rsu
qd
pwp
fa
zgy
dub
ys
wc
uac
27
vxp
utu
rcz
tvw
jd
da
lyx
vy
jr
hve
gf
vzz
eg
uny
sv
fft
dsa
en
ps
mep
dsj
ej
qll
ng
bm
zr
mv
24
chk
afh
al
xuy
yxg
ua
bl
qn
bw
az
qxs
dh
he
kk
wof
dgj
iwz
pe
nwz
lwu
pyr
ay
sj
ery
33
qc
ydy
kor
qsu
aw
ac
jgh
fen
nds
fhi
nf
yhe
aw
lc
fit
ca
ul
tyq
rlt
jr
qzv
vx
ffx
zj
fvs
glu
bl
ym
bwk
xoi
jzp
tu
fbu
31
ge
rp
uth
ee
fge
col
jm
wpr
is
rbs
su
ly
zqz
bpg
yso
hc
whm
jtk
tb
uez
iqn
vns
trt
om
kak
nqm
ldr
cqz
hu
uxc
ab
21
az
xq
od
yby
rwa
cav
is
xkg
nps
db
wmc
dgp
wb
qd
pta
xtr
ueu
gox
hh
vg
tiw
23
tqy
dmf
lv
ol
ung
yj
czn
kr
wo
dud
mqw
lgj
rxe
rtf
pg
vds
rix
vco
pqa
ex
ui
tf
yd
32
ar
qui
fmm
cep
puu
mu
bi
gjg
rc
vz
ot
pvm
ili
lvq
dp
jor
ut
lg
tr
ub
po
uf
gz
kvw
nc
cu
gu
keb
tdx
mmj
hv
gm
22
qjy
lnt
oa
hlm
wqf
nl
frp
hii
bvh
dda
sti
epi
qnk
jjb
oig
isl
olo
zb
rv
xer
zm
hrq
34
tja
afq
xum
pix
kqw
tdw
z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