QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#503105#5735. Correcting Keatsxiaowuc1AC ✓3ms4712kbC++171.6kb2024-08-03 16:25:512024-08-03 16:25:52

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3540kb

input:

eg
egg

output:

eeg
eegg
eg
ege
egeg
egge
eggg
gegg
gg
ggg

result:

ok 10 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 3468kb

input:

abc
cab

output:

aab
ab
acab
bab
bcab
ca
caa
caab
caba
cabb
cabc
cac
cacb
cb
cbab
cbb
ccab
ccb

result:

ok 18 lines

Test #3:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

abc
aaa

output:

aa
aaaa
aaab
aaac
aab
aaba
aac
aaca
aba
abaa
aca
acaa
baa
baaa
caa
caaa

result:

ok 16 lines

Test #4:

score: 0
Accepted
time: 1ms
memory: 3796kb

input:

abcdefghijklmnopqrstuvwxyz
nvjfkdsiwoqqoirfbnvbchdjkscdsbhbchd

output:

anvjfkdsiwoqqoirfbnvbchdjkscdsbhbchd
avjfkdsiwoqqoirfbnvbchdjkscdsbhbchd
bnvjfkdsiwoqqoirfbnvbchdjkscdsbhbchd
bvjfkdsiwoqqoirfbnvbchdjkscdsbhbchd
cnvjfkdsiwoqqoirfbnvbchdjkscdsbhbchd
cvjfkdsiwoqqoirfbnvbchdjkscdsbhbchd
dnvjfkdsiwoqqoirfbnvbchdjkscdsbhbchd
dvjfkdsiwoqqoirfbnvbchdjkscdsbhbchd
envjfkds...

result:

ok 1810 lines

Test #5:

score: 0
Accepted
time: 0ms
memory: 3784kb

input:

a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

result:

ok 2 lines

Test #6:

score: 0
Accepted
time: 3ms
memory: 4632kb

input:

abcdefghijklmnopqrstuvwxyz
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok 5027 lines

Test #7:

score: 0
Accepted
time: 2ms
memory: 4712kb

input:

abcdefghijklmnopqrstuvwxyz
spuumqfzfblbqvkaozldiuihmlsrqkqnobopzbkajnqcmsptqqgzrsnefldfuklgebftofehsjotilfylqgosanfilfefxeilnql

output:

apuumqfzfblbqvkaozldiuihmlsrqkqnobopzbkajnqcmsptqqgzrsnefldfuklgebftofehsjotilfylqgosanfilfefxeilnql
aspuumqfzfblbqvkaozldiuihmlsrqkqnobopzbkajnqcmsptqqgzrsnefldfuklgebftofehsjotilfylqgosanfilfefxeilnql
bpuumqfzfblbqvkaozldiuihmlsrqkqnobopzbkajnqcmsptqqgzrsnefldfuklgebftofehsjotilfylqgosanfilfefxeil...

result:

ok 5124 lines

Test #8:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

cdhjkmoqrstv
otq

output:

cotq
ctq
dotq
dtq
hotq
htq
jotq
jtq
kotq
ktq
motq
mtq
ocq
octq
odq
odtq
ohq
ohtq
ojq
ojtq
okq
oktq
omq
omtq
ooq
ootq
oq
oqq
oqtq
orq
ortq
osq
ostq
ot
otc
otcq
otd
otdq
oth
othq
otj
otjq
otk
otkq
otm
otmq
oto
otoq
otqc
otqd
otqh
otqj
otqk
otqm
otqo
otqq
otqr
otqs
otqt
otqv
otr
otrq
ots
otsq
ott
ottq
...

result:

ok 81 lines

Test #9:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

dghijkmopz
jjgjzkogkdkgzd

output:

djgjzkogkdkgzd
djjgjzkogkdkgzd
gjgjzkogkdkgzd
gjjgjzkogkdkgzd
hjgjzkogkdkgzd
hjjgjzkogkdkgzd
ijgjzkogkdkgzd
ijjgjzkogkdkgzd
jdgjzkogkdkgzd
jdjgjzkogkdkgzd
jggjzkogkdkgzd
jgjgjzkogkdkgzd
jgjzkogkdkgzd
jhgjzkogkdkgzd
jhjgjzkogkdkgzd
jigjzkogkdkgzd
jijgjzkogkdkgzd
jjdgjzkogkdkgzd
jjdjzkogkdkgzd
jjgdjzk...

result:

ok 275 lines

Test #10:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

abekmnprstvx
npetbpstbmntenrararbketsnrnstxpvrrsxtmbaennkv

output:

anpetbpstbmntenrararbketsnrnstxpvrrsxtmbaennkv
apetbpstbmntenrararbketsnrnstxpvrrsxtmbaennkv
bnpetbpstbmntenrararbketsnrnstxpvrrsxtmbaennkv
bpetbpstbmntenrararbketsnrnstxpvrrsxtmbaennkv
enpetbpstbmntenrararbketsnrnstxpvrrsxtmbaennkv
epetbpstbmntenrararbketsnrnstxpvrrsxtmbaennkv
knpetbpstbmntenrararb...

result:

ok 1045 lines

Test #11:

score: 0
Accepted
time: 1ms
memory: 3640kb

input:

abdfhkrtuvwxy
vyxdwtxbbrfhhtdfkbtahxkdttywtawtvkhaaaxd

output:

avyxdwtxbbrfhhtdfkbtahxkdttywtawtvkhaaaxd
ayxdwtxbbrfhhtdfkbtahxkdttywtawtvkhaaaxd
bvyxdwtxbbrfhhtdfkbtahxkdttywtawtvkhaaaxd
byxdwtxbbrfhhtdfkbtahxkdttywtawtvkhaaaxd
dvyxdwtxbbrfhhtdfkbtahxkdttywtawtvkhaaaxd
dyxdwtxbbrfhhtdfkbtahxkdttywtawtvkhaaaxd
fvyxdwtxbbrfhhtdfkbtahxkdttywtawtvkhaaaxd
fyxdwtxbb...

result:

ok 1008 lines

Test #12:

score: 0
Accepted
time: 0ms
memory: 3656kb

input:

abfijklmnopqrstuvyz
mrppjzzjotlb

output:

amrppjzzjotlb
arppjzzjotlb
bmrppjzzjotlb
brppjzzjotlb
fmrppjzzjotlb
frppjzzjotlb
imrppjzzjotlb
irppjzzjotlb
jmrppjzzjotlb
jrppjzzjotlb
kmrppjzzjotlb
krppjzzjotlb
lmrppjzzjotlb
lrppjzzjotlb
mappjzzjotlb
marppjzzjotlb
mbppjzzjotlb
mbrppjzzjotlb
mfppjzzjotlb
mfrppjzzjotlb
mippjzzjotlb
mirppjzzjotlb
mjp...

result:

ok 461 lines

Test #13:

score: 0
Accepted
time: 1ms
memory: 3940kb

input:

befgiknpqrv
irgbfkegivnknnivfkkigerpbnrnqpngfqgnirqbkigpvveevikqnrpgrqkfqqiirbpvrpeipkvfrqvrkiveirk

output:

birgbfkegivnknnivfkkigerpbnrnqpngfqgnirqbkigpvveevikqnrpgrqkfqqiirbpvrpeipkvfrqvrkiveirk
brgbfkegivnknnivfkkigerpbnrnqpngfqgnirqbkigpvveevikqnrpgrqkfqqiirbpvrpeipkvfrqvrkiveirk
eirgbfkegivnknnivfkkigerpbnrnqpngfqgnirqbkigpvveevikqnrpgrqkfqqiirbpvrpeipkvfrqvrkiveirk
ergbfkegivnknnivfkkigerpbnrnqpngfq...

result:

ok 1832 lines

Test #14:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

abgijklmnruvz
aabrajvrllkmkgkruzgnugimkaanlrvrrjkml

output:

aaabrajvrllkmkgkruzgnugimkaanlrvrrjkml
aaarajvrllkmkgkruzgnugimkaanlrvrrjkml
aabaajvrllkmkgkruzgnugimkaanlrvrrjkml
aabajvrllkmkgkruzgnugimkaanlrvrrjkml
aabarajvrllkmkgkruzgnugimkaanlrvrrjkml
aabbajvrllkmkgkruzgnugimkaanlrvrrjkml
aabbrajvrllkmkgkruzgnugimkaanlrvrrjkml
aabgajvrllkmkgkruzgnugimkaanlrvr...

result:

ok 934 lines

Test #15:

score: 0
Accepted
time: 1ms
memory: 3728kb

input:

adghijmnoprtwxyz
pdpmynrxnrhdyzpdmjpjtjghapdmxoxoixiwzr

output:

adpmynrxnrhdyzpdmjpjtjghapdmxoxoixiwzr
apdpmynrxnrhdyzpdmjpjtjghapdmxoxoixiwzr
ddpmynrxnrhdyzpdmjpjtjghapdmxoxoixiwzr
dpdpmynrxnrhdyzpdmjpjtjghapdmxoxoixiwzr
dpmynrxnrhdyzpdmjpjtjghapdmxoxoixiwzr
gdpmynrxnrhdyzpdmjpjtjghapdmxoxoixiwzr
gpdpmynrxnrhdyzpdmjpjtjghapdmxoxoixiwzr
hdpmynrxnrhdyzpdmjpjtjgha...

result:

ok 1194 lines

Test #16:

score: 0
Accepted
time: 1ms
memory: 3748kb

input:

ahorsy
yassysyrsshharyyoohhsyoarsyohyohyryhsyayrahohssrooshhsyhhoooyyyhyaororors

output:

aassysyrsshharyyoohhsyoarsyohyohyryhsyayrahohssrooshhsyhhoooyyyhyaororors
assysyrsshharyyoohhsyoarsyohyohyryhsyayrahohssrooshhsyhhoooyyyhyaororors
ayassysyrsshharyyoohhsyoarsyohyohyryhsyayrahohssrooshhsyhhoooyyyhyaororors
hassysyrsshharyyoohhsyoarsyohyohyryhsyayrahohssrooshhsyhhoooyyyhyaororors
hyas...

result:

ok 795 lines

Test #17:

score: 0
Accepted
time: 1ms
memory: 4024kb

input:

cefhlprt
cppercrpchfherrclrtpepftttftcteehchlcreftlctfpplpcrterpeeerlplttphpctcceffhlprrl

output:

ccpercrpchfherrclrtpepftttftcteehchlcreftlctfpplpcrterpeeerlplttphpctcceffhlprrl
ccppercrpchfherrclrtpepftttftcteehchlcreftlctfpplpcrterpeeerlplttphpctcceffhlprrl
cepercrpchfherrclrtpepftttftcteehchlcreftlctfpplpcrterpeeerlplttphpctcceffhlprrl
ceppercrpchfherrclrtpepftttftcteehchlcreftlctfpplpcrterp...

result:

ok 1196 lines

Test #18:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

abcdefghijklmnopqrstuvwxyz
az

output:

a
aa
aaz
ab
abz
ac
acz
ad
adz
ae
aez
af
afz
ag
agz
ah
ahz
ai
aiz
aj
ajz
ak
akz
al
alz
am
amz
an
anz
ao
aoz
ap
apz
aq
aqz
ar
arz
as
asz
at
atz
au
auz
av
avz
aw
awz
ax
axz
ay
ayz
aza
azb
azc
azd
aze
azf
azg
azh
azi
azj
azk
azl
azm
azn
azo
azp
azq
azr
azs
azt
azu
azv
azw
azx
azy
azz
baz
bz
caz
cz
daz
d...

result:

ok 128 lines

Test #19:

score: 0
Accepted
time: 0ms
memory: 3532kb

input:

az
az

output:

a
aa
aaz
aza
azz
z
zaz
zz

result:

ok 8 lines