QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#271509#7879. Colorful Balloonsucup-team1318#AC ✓52ms8800kbC++171.7kb2023-12-02 13:08:352023-12-02 13:08:37

详细

Test #1:

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

input:

5
red
green
red
red
blue

output:

red

result:

ok "red"

Test #2:

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

input:

3
red
blue
yellow

output:

uh-oh

result:

ok "uh-oh"

Test #3:

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

input:

1
abc

output:

abc

result:

ok "abc"

Test #4:

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

input:

100000
vagsmrnnry
vagsmrnnry
bvaojtyvmn
vagsmrnnry
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
vagsmrnnry
bvaojtyvmn
vagsmrnnry
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
bvaojtyvmn
vagsmrnnry
vagsmrnnry
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
vagsmrnnry
vagsmrnnry
vagsmrnnry
vagsmrn...

output:

vagsmrnnry

result:

ok "vagsmrnnry"

Test #5:

score: 0
Accepted
time: 6ms
memory: 3880kb

input:

100000
khccohwxsc
aakazkvryg
khccohwxsc
aakazkvryg
khccohwxsc
khccohwxsc
aakazkvryg
aakazkvryg
khccohwxsc
djckwpxwyt
khccohwxsc
khccohwxsc
djckwpxwyt
khccohwxsc
aakazkvryg
djckwpxwyt
djckwpxwyt
djckwpxwyt
aakazkvryg
djckwpxwyt
aakazkvryg
aakazkvryg
khccohwxsc
aakazkvryg
khccohwxsc
aakazkvryg
aakazkv...

output:

uh-oh

result:

ok "uh-oh"

Test #6:

score: 0
Accepted
time: 6ms
memory: 3804kb

input:

100000
zvdnbaaefc
ygwmnasolc
ygwmnasolc
zvdnbaaefc
ygwmnasolc
ygwmnasolc
ygwmnasolc
zvdnbaaefc
ygwmnasolc
lrvdhogehr
zvdnbaaefc
lrvdhogehr
zvdnbaaefc
ygwmnasolc
zvdnbaaefc
lrvdhogehr
ygwmnasolc
lrvdhogehr
lrvdhogehr
ygwmnasolc
zvdnbaaefc
lrvdhogehr
ygwmnasolc
zvdnbaaefc
lrvdhogehr
ygwmnasolc
zvdnbaa...

output:

uh-oh

result:

ok "uh-oh"

Test #7:

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

input:

100000
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrh...

output:

phgzqrhltc

result:

ok "phgzqrhltc"

Test #8:

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

input:

100000
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoely...

output:

ahkoelyvuh

result:

ok "ahkoelyvuh"

Test #9:

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

input:

100000
o
o
o
o
zhtga
o
zhtga
j
zhtga
j
o
zhtga
o
j
zhtga
zhtga
o
zhtga
zhtga
j
o
zhtga
zhtga
o
o
zhtga
j
j
j
j
zhtga
o
o
zhtga
j
o
o
o
o
j
o
o
zhtga
j
o
j
o
zhtga
o
o
j
o
zhtga
zhtga
o
o
zhtga
j
o
zhtga
j
zhtga
zhtga
o
zhtga
o
o
j
o
o
o
o
j
zhtga
o
zhtga
zhtga
j
o
o
j
o
zhtga
o
zhtga
zhtga
o
j
o
zht...

output:

o

result:

ok "o"

Test #10:

score: 0
Accepted
time: 6ms
memory: 3644kb

input:

100000
ofhyqmlxm
ofhyqmlxm
bjqjepbvf
ofhyqmlxm
ofhyqmlxm
bjqjepbvf
ofhyqmlxm
bjqjepbvf
ofhyqmlxm
odzv
ofhyqmlxm
odzv
ofhyqmlxm
odzv
odzv
bjqjepbvf
bjqjepbvf
ofhyqmlxm
ofhyqmlxm
odzv
ofhyqmlxm
bjqjepbvf
bjqjepbvf
ofhyqmlxm
bjqjepbvf
ofhyqmlxm
ofhyqmlxm
ofhyqmlxm
ofhyqmlxm
ofhyqmlxm
ofhyqmlxm
odzv
ofh...

output:

uh-oh

result:

ok "uh-oh"

Test #11:

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

input:

100000
yyojlg
yyojlg
ppontiloo
zewczen
ppontiloo
ppontiloo
zewczen
zewczen
yyojlg
yyojlg
yyojlg
yyojlg
yyojlg
ppontiloo
yyojlg
zewczen
ppontiloo
ppontiloo
ppontiloo
ppontiloo
yyojlg
zewczen
zewczen
ppontiloo
yyojlg
ppontiloo
ppontiloo
ppontiloo
ppontiloo
ppontiloo
yyojlg
yyojlg
yyojlg
zewczen
yyojlg...

output:

uh-oh

result:

ok "uh-oh"

Test #12:

score: 0
Accepted
time: 4ms
memory: 3680kb

input:

100000
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi
hmfgi...

output:

hmfgi

result:

ok "hmfgi"

Test #13:

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

input:

100000
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a...

output:

a

result:

ok "a"

Test #14:

score: 0
Accepted
time: 6ms
memory: 3848kb

input:

100000
avxrabtazp
guhogkqh
xokfiolzw
xokfiolzw
guhogkqh
avxrabtazp
guhogkqh
guhogkqh
xokfiolzw
xokfiolzw
avxrabtazp
xokfiolzw
xokfiolzw
xokfiolzw
avxrabtazp
xokfiolzw
guhogkqh
guhogkqh
guhogkqh
avxrabtazp
guhogkqh
guhogkqh
xokfiolzw
xokfiolzw
guhogkqh
xokfiolzw
xokfiolzw
guhogkqh
xokfiolzw
xokfiolzw...

output:

xokfiolzw

result:

ok "xokfiolzw"

Test #15:

score: 0
Accepted
time: 6ms
memory: 3576kb

input:

100000
bfmkgigain
uldlsgwpyq
uldlsgwpyq
bfmkgigain
uldlsgwpyq
unpjxuczw
bfmkgigain
unpjxuczw
bfmkgigain
bfmkgigain
uldlsgwpyq
bfmkgigain
bfmkgigain
uldlsgwpyq
unpjxuczw
bfmkgigain
unpjxuczw
bfmkgigain
unpjxuczw
unpjxuczw
bfmkgigain
bfmkgigain
unpjxuczw
unpjxuczw
unpjxuczw
bfmkgigain
bfmkgigain
bfmkg...

output:

uh-oh

result:

ok "uh-oh"

Test #16:

score: 0
Accepted
time: 6ms
memory: 3576kb

input:

100000
kcaiebcxhl
dqzbkpudon
dqzbkpudon
kcaiebcxhl
kcaiebcxhl
kcaiebcxhl
kcaiebcxhl
dqzbkpudon
dqzbkpudon
dqzbkpudon
kcaiebcxhl
dwwgjrgk
dwwgjrgk
dqzbkpudon
dwwgjrgk
dwwgjrgk
dqzbkpudon
dwwgjrgk
dqzbkpudon
dwwgjrgk
dwwgjrgk
dqzbkpudon
kcaiebcxhl
dwwgjrgk
kcaiebcxhl
dwwgjrgk
kcaiebcxhl
dqzbkpudon
dqz...

output:

uh-oh

result:

ok "uh-oh"

Test #17:

score: 0
Accepted
time: 5ms
memory: 3644kb

input:

100000
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebmtqvgdu
ebm...

output:

ebmtqvgdu

result:

ok "ebmtqvgdu"

Test #18:

score: 0
Accepted
time: 4ms
memory: 3588kb

input:

100000
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsadsqnv
fljsads...

output:

fljsadsqnv

result:

ok "fljsadsqnv"

Test #19:

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

input:

100000
hlpemexhal
ibyjoachka
wbfyuksdgc
jexrpugwpr
hlpemexhal
hlpemexhal
hltfnoqmom
hlpemexhal
hlpemexhal
hlpemexhal
hlpemexhal
hlpemexhal
hlpemexhal
hlpemexhal
bzacohfnos
xstwvlndbz
hlpemexhal
hqefhxgbfe
hlpemexhal
hlpemexhal
iuagmmbvso
fgrjujwxjl
idbhqkinqz
hlpemexhal
hlpemexhal
zqixdryvql
xaevgvw...

output:

hlpemexhal

result:

ok "hlpemexhal"

Test #20:

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

input:

100000
urmcaivwjl
ywgxywknvs
urmcaivwjl
pmnwkpluxb
pfyallioxd
urmcaivwjl
urmcaivwjl
urmcaivwjl
szrzpokmpy
urmcaivwjl
otcreeksyo
qzwxoawnew
urmcaivwjl
omiapwcaig
urmcaivwjl
urmcaivwjl
urmcaivwjl
rbbsfafjui
vusiwnzqse
zbmnpzfppo
wtjltdoswf
urmcaivwjl
blhsomjtqr
urmcaivwjl
ytisfepovk
urmcaivwjl
urmcaiv...

output:

uh-oh

result:

ok "uh-oh"

Test #21:

score: 0
Accepted
time: 12ms
memory: 3660kb

input:

100000
zjnnxxbieu
qvfzscuxth
xtaetkfrjt
wqlnqwgfyu
lmukeolidp
puibffubxr
pbczwlwfih
rcnfjfdzfp
cmfyxrrmoh
chcsqnhsgg
lrgwiyfxvc
qvfzscuxth
hbmetncjqi
zjnnxxbieu
hcljpkfbzu
fygaawozgw
oqkfixnmqc
puibffubxr
quncvjbxvx
rlykixoovc
wqphjevpif
dyddhixwsp
chcsqnhsgg
qsusthguqi
mnhmkpgqoh
rlykixoovc
rcnfjfd...

output:

uh-oh

result:

ok "uh-oh"

Test #22:

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

input:

100000
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqzhcc
aearjqz...

output:

aearjqzhcc

result:

ok "aearjqzhcc"

Test #23:

score: 0
Accepted
time: 11ms
memory: 3880kb

input:

100000
pvhu
pvhu
pvhu
pvhu
gnccul
pvhu
oegng
sis
hluqgbhx
pvhu
jgrywdq
yvadglpypw
wpvjr
pvhu
kibnk
pvhu
nmfwi
isoijugnui
kvvjspvwj
jhywcht
pvhu
pvhu
suhspvi
pvhu
pvhu
oe
pvhu
egrmvuib
pvhu
ognoo
pvhu
hluqgbhx
pvhu
pvhu
wpvjr
cm
pvhu
pvhu
lllwmz
semptzdiu
pvhu
pvhu
ojsiat
wshcjzkfwa
oufywcyek
pvhu
pv...

output:

pvhu

result:

ok "pvhu"

Test #24:

score: 0
Accepted
time: 11ms
memory: 3588kb

input:

100000
grxevo
gorl
fwzzqtdn
bjfkmw
fwzzqtdn
fwzzqtdn
grxevo
lzvuniolk
yyvkntb
fwzzqtdn
fwzzqtdn
hqu
fwzzqtdn
xfdmso
sckhs
fwzzqtdn
t
fwzzqtdn
fwzzqtdn
b
fwzzqtdn
digla
fwzzqtdn
fwzzqtdn
ssju
fwzzqtdn
bs
fwzzqtdn
fwzzqtdn
fwzzqtdn
fwzzqtdn
fwzzqtdn
ydvtn
fwzzqtdn
fwzzqtdn
fwzzqtdn
ogswqszf
fwzzqtdn
f...

output:

uh-oh

result:

ok "uh-oh"

Test #25:

score: 0
Accepted
time: 12ms
memory: 3688kb

input:

100000
axp
uhdxz
pjm
sfftm
e
bdzyt
e
ljfqqit
ojkho
je
jhst
ugfr
qdhvkqaoe
plzdpegtny
ojkho
cqmkribj
kgbq
zdfdutqy
qdhvkqaoe
kgbq
he
sr
e
e
aowrhp
fzcicagows
avuegkb
xddiuep
fzcicagows
sp
ylnabk
dzkrisnpj
axp
zdfdutqy
jswcim
dxneu
vbjozjmnoq
lbzfzpsvxy
g
gxfhzqhi
rdetcphsq
jhst
omtitjkzk
ndkj
youekln...

output:

uh-oh

result:

ok "uh-oh"

Test #26:

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

input:

100000
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlpht
aaqlp...

output:

aaqlpht

result:

ok "aaqlpht"

Test #27:

score: 0
Accepted
time: 10ms
memory: 3644kb

input:

100000
bfaryvxrmp
bfaryvxrmp
bfaryvxrmp
bfaryvxrmp
tqynutptmt
mvpjcdluj
bfaryvxrmp
nddxqsqo
bfaryvxrmp
xrjsaqhc
snxervezvk
bedsybtr
bfaryvxrmp
bfaryvxrmp
mylaogdxe
bfaryvxrmp
dkdfogcq
mvpjcdluj
bfaryvxrmp
bfaryvxrmp
swaquinci
bfaryvxrmp
bfaryvxrmp
bfaryvxrmp
bfaryvxrmp
bfaryvxrmp
bfaryvxrmp
bfaryvxr...

output:

bfaryvxrmp

result:

ok "bfaryvxrmp"

Test #28:

score: 0
Accepted
time: 10ms
memory: 3648kb

input:

100000
etepcpifz
etepcpifz
cmqgzoyg
etepcpifz
rhvbplao
etepcpifz
mgwsyyho
etepcpifz
etepcpifz
nxwkehirl
etepcpifz
sahvpdzxf
etepcpifz
macduexm
rnxtbyepp
etepcpifz
etepcpifz
qovhffzbou
etepcpifz
etepcpifz
etepcpifz
etepcpifz
etepcpifz
nxwkehirl
ueocrnyt
wtuypvxx
ihmhbmwz
etepcpifz
etepcpifz
etepcpifz...

output:

uh-oh

result:

ok "uh-oh"

Test #29:

score: 0
Accepted
time: 13ms
memory: 3588kb

input:

100000
gorpkyngl
emshkycsa
jbpdcawtt
smlnltqljf
eyklgridja
xwerlucg
wourtelv
ybaykqrxfk
khngbcjcya
wxgrfijqzg
pgrnqvcvok
vrapehupf
pgrnqvcvok
njwqgatsi
fsqpmujqgh
ajlpbner
coifroekc
gdmfqlfsk
atungofq
vghlmwabnj
mbjahbzrs
rijqvgzsp
lssnfsar
fvjgukxmmm
xwerlucg
dfahudjibt
vzgbkdvgo
yimuynzj
dmyflfitp...

output:

uh-oh

result:

ok "uh-oh"

Test #30:

score: 0
Accepted
time: 4ms
memory: 3620kb

input:

100000
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenylohp
aenyl...

output:

aenylohp

result:

ok "aenylohp"

Test #31:

score: 0
Accepted
time: 30ms
memory: 6752kb

input:

100000
augioxcibo
pymkahjdam
pymkahjdam
howemvtyic
pymkahjdam
pymkahjdam
pymkahjdam
zbbwhhlpnz
pymkahjdam
pymkahjdam
pymkahjdam
pymkahjdam
jrxeekacvb
iwqlqxlkis
pymkahjdam
qjkyuojbqe
pymkahjdam
pymkahjdam
uhbdfeolly
pymkahjdam
zvazncbthl
ecmsljghhv
tksjvhqucz
jrtdznenhs
tigjquhyhg
pymkahjdam
gopvxtu...

output:

pymkahjdam

result:

ok "pymkahjdam"

Test #32:

score: 0
Accepted
time: 25ms
memory: 6676kb

input:

100000
jylmmprcnt
onbyzpvbwl
vletdfcmdy
vletdfcmdy
mwqhtutoeg
vletdfcmdy
zygpgcjzzt
xksimscalq
vletdfcmdy
yfxhvteuxl
vletdfcmdy
vletdfcmdy
vletdfcmdy
vletdfcmdy
vletdfcmdy
vletdfcmdy
vletdfcmdy
paxpbrgjtn
agsajnulds
vsftehcuis
intarikeal
vletdfcmdy
eyuzyibyrj
rkkytbtaui
vletdfcmdy
vletdfcmdy
nedpeyr...

output:

uh-oh

result:

ok "uh-oh"

Test #33:

score: 0
Accepted
time: 49ms
memory: 8476kb

input:

100000
wpvlcxcahg
jgfvlqskoh
zuzidleycf
vvsksikike
wwcommqgul
ismbaqvual
amcivcmdim
yhnjbryntr
wbyafmgork
xyrsnpgbtp
lyioyzgico
oeetpunxin
zjfbraxvfi
vaujjvpvti
ejcjfunmvg
phoqksfkqe
yrxeapezlr
ejjafhpjxb
sktivjtbyy
yjwjxqqiez
epvbaxoime
aoffgfhdpq
xkofuodyxw
vspvhgflsz
eqrvgywfls
ozlpsootgi
mdygjed...

output:

uh-oh

result:

ok "uh-oh"

Test #34:

score: 0
Accepted
time: 32ms
memory: 6720kb

input:

100000
zjwyoy
zjwyoy
yrydjeudkl
zjwyoy
eexx
wblcnolw
nhfsq
ooggct
verubhve
zjwyoy
zjwyoy
zjwyoy
vqkijei
joxnqmg
zjwyoy
kzsiwnsic
qghjjg
zjwyoy
zjwyoy
zjwyoy
zjwyoy
zjwyoy
zjwyoy
zjwyoy
xvfzagopzr
zjwyoy
zjwyoy
zjwyoy
cmzlb
zjwyoy
zjwyoy
ctpoa
zjwyoy
zjwyoy
dvcsxfqvb
zjwyoy
onkmdh
zjwyoy
bfsctb
zjwyo...

output:

zjwyoy

result:

ok "zjwyoy"

Test #35:

score: 0
Accepted
time: 33ms
memory: 6880kb

input:

100000
yfpubkkvwe
yfpubkkvwe
wiwdbbjx
yfpubkkvwe
tekzdgpnv
yfpubkkvwe
yfpubkkvwe
cbnd
yfpubkkvwe
yfpubkkvwe
yfpubkkvwe
htzxwkeecw
ebqehbckk
yfpubkkvwe
yfpubkkvwe
yfpubkkvwe
vpsxtvurbc
sqe
yfpubkkvwe
yfpubkkvwe
yfpubkkvwe
yfpubkkvwe
yfpubkkvwe
yfpubkkvwe
pdysppb
yfpubkkvwe
yfpubkkvwe
yfpubkkvwe
dtpi
...

output:

uh-oh

result:

ok "uh-oh"

Test #36:

score: 0
Accepted
time: 52ms
memory: 8564kb

input:

100000
rtxgj
enntqjowf
knlknxsg
wwuzwoov
ojikuhbj
voaaxoxdp
zseoumdut
dcmusi
yhgrlm
knyi
avtjps
nzq
vdahhnb
izjuyhr
hfakpsn
onmf
qkogddnqk
olqajpztqe
ubezvvzonu
arldkl
cfptkwxh
ojlgkh
eeout
vxnivuwk
vtz
kjynqczfr
dobexwkv
jezl
xqvwybw
ixnbdjij
tcdqhw
hh
brlqf
cfnluva
kemvnncuul
odrf
ymcxnir
kuevy
my...

output:

uh-oh

result:

ok "uh-oh"

Test #37:

score: 0
Accepted
time: 26ms
memory: 6656kb

input:

100000
jqectqvznw
jqectqvznw
vysdeskfwh
jqectqvznw
czfbluvs
jqectqvznw
sllqynrwyf
jqectqvznw
szgavdqccl
jqectqvznw
vinjshhvmb
kbfhkzgrbb
ejruhugtf
jqectqvznw
fqllkdrm
jqectqvznw
dtajoktds
mriaghtbpz
jqectqvznw
frjauddnp
wrcepxmfbl
jqectqvznw
aisqmnihc
aziphidhy
pobkbfky
sktdhmuv
jqectqvznw
jqectqvzn...

output:

jqectqvznw

result:

ok "jqectqvznw"

Test #38:

score: 0
Accepted
time: 30ms
memory: 6692kb

input:

100000
hwxtoajxk
wkqcticyu
rtcmqumq
ducvhhsd
ducvhhsd
ducvhhsd
quwcpuldwz
czpjtzvh
ducvhhsd
ducvhhsd
ducvhhsd
kumlwriz
ducvhhsd
ojxblohgv
evmrowztg
cmlihmhbj
obpsqulw
ducvhhsd
ducvhhsd
ducvhhsd
ducvhhsd
ducvhhsd
ducvhhsd
ghiylaet
ducvhhsd
akvgsrxk
ducvhhsd
ducvhhsd
tmbchmrgaa
ducvhhsd
siepuwxzu
ducv...

output:

uh-oh

result:

ok "uh-oh"

Test #39:

score: 0
Accepted
time: 49ms
memory: 8800kb

input:

100000
vlifvcct
rmjcqqbfy
wnsubtzfl
rfyjoceca
cfivohuic
ftifhhcg
zxdbuahtf
rsqioohk
wsfxrjigiu
unuapekm
usanfpzor
yumepfrou
rceiuzckpd
bbolgrmuix
pcmnffhm
pcnildfd
liilgxmbl
tkqbjewyl
aaphuyeu
hmpmskglq
xwxjckumxw
rnjkiaeec
jnbegsrzm
tswpyagv
xifxjgicr
ltpdtxygqj
elirufhss
rmkgejxa
trvobipkjw
gejbjp...

output:

uh-oh

result:

ok "uh-oh"

Test #40:

score: 0
Accepted
time: 11ms
memory: 3588kb

input:

99999
kfirruopgo
bdrsdrzkam
qzyspzxznm
vwshbqvfye
sghxwmxjco
vwshbqvfye
rvovwmqqjy
upfnameteq
vxhvikjnjz
vwshbqvfye
navdreagvq
vwshbqvfye
hkhvhiwjrx
rrypvetihr
auuosschcd
nvjngcxuyf
rvovwmqqjy
vwshbqvfye
vwshbqvfye
vwshbqvfye
vwshbqvfye
oabfutrnln
xidgxbadsi
xjvknrbbkp
vwshbqvfye
vwshbqvfye
hdohbjkx...

output:

vwshbqvfye

result:

ok "vwshbqvfye"

Test #41:

score: 0
Accepted
time: 11ms
memory: 3692kb

input:

99999
hekrewdnbi
hekrewdnbi
augxuqwhgv
sqdebivtfu
xfiiyoefrg
wqdxsjsucy
gcbvdmnlga
eumqieoeuj
hekrewdnbi
hekrewdnbi
hekrewdnbi
hekrewdnbi
vbjgemfmji
fvminswxxn
xfiiyoefrg
hekrewdnbi
fzsgjbejho
hekrewdnbi
hekrewdnbi
rwxrzrpadq
hekrewdnbi
iodemcyjhx
ywngmmrzly
hekrewdnbi
hekrewdnbi
hekrewdnbi
hekrewdn...

output:

uh-oh

result:

ok "uh-oh"

Test #42:

score: 0
Accepted
time: 12ms
memory: 3816kb

input:

99999
ivwthhidij
sijrswvips
jcgceggshd
pncoxnlvrn
qgqqkxxqvk
effmiukbsw
olyisvdsfp
qjothjruvw
snkfwmioyr
nxmnwqkfnz
uplxuguiet
vgekiqutut
vxztzitdfq
lkvpnhsppu
ybtkjnbdiq
hlfwyrmnqf
laxcdhyzif
hhtoxlfjau
tgdrwptxdb
ljiwllfyic
bzsfrxeqej
nxmnwqkfnz
pqbgzdprek
fzdufzyqua
oydgqnxmzn
duqigdawrz
hkfcvquu...

output:

uh-oh

result:

ok "uh-oh"

Test #43:

score: 0
Accepted
time: 4ms
memory: 3872kb

input:

99999
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxwpp
agcyipxw...

output:

agcyipxwpp

result:

ok "agcyipxwpp"

Test #44:

score: 0
Accepted
time: 10ms
memory: 3652kb

input:

99999
qdy
qdy
qdy
qdy
qdy
qdy
n
qdy
ajorhdfiy
ycfhlaxa
qdy
qdy
qdy
jdgrzp
qdy
n
ck
qdy
rkgpwzboc
ww
qdy
qdy
qdy
qdy
qdy
obicxvzb
qdy
mgbsd
qdy
qdy
qdy
qdy
flukn
qdy
qdy
udtpx
klsspahcsp
e
qdy
qdy
klsspahcsp
c
qdy
sn
qdy
qdy
qaifmjtjey
udtpx
obicxvzb
nkluyiai
qdy
frqghagv
qdy
vvc
vjofny
yhr
bvkyykev
...

output:

qdy

result:

ok "qdy"

Test #45:

score: 0
Accepted
time: 11ms
memory: 3588kb

input:

99999
qkp
oove
csin
qkp
cffz
csin
ojnofphnfd
qkp
qkp
qkp
vyeqzhixn
qkp
cffz
ojnofphnfd
abxiscao
jsrss
qslkwv
qkp
auxcuzjidx
lfkhcww
qkp
qkp
v
uaktidk
auxcuzjidx
qkp
fziabaqe
qkp
snbznuxbx
qkp
fbkv
qkp
auxcuzjidx
bnjicyuah
f
xjbzpbx
dlwmsjqr
sbpctfzw
qkp
nojqyutge
nxbfnuh
qkp
qzde
xhmlq
ev
qkp
jsrss
...

output:

uh-oh

result:

ok "uh-oh"

Test #46:

score: 0
Accepted
time: 12ms
memory: 3536kb

input:

99999
pnohq
fwczleyku
xpdm
ruvfsg
z
xzq
kzufreonza
rkq
sdsg
mbsj
w
yxpdcya
kskqrnyx
jiglf
sdsg
se
aliqiidkss
yxpdcya
lunluvqm
fycf
n
iknmnqn
ts
ec
rtfetsgils
pnohq
elszdqta
tftnjr
b
e
gdfp
odaco
vtrvmhygjp
apxdyon
iknmnqn
ruvfsg
ts
yljq
pxx
iznqq
gx
qcv
laz
pz
ruvfsg
odaco
osfomtg
kxfwuk
iex
fwczley...

output:

uh-oh

result:

ok "uh-oh"

Test #47:

score: 0
Accepted
time: 4ms
memory: 3844kb

input:

99999
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
aingv
...

output:

aingv

result:

ok "aingv"

Test #48:

score: 0
Accepted
time: 10ms
memory: 3588kb

input:

99999
erypvbaox
fmplnezq
erypvbaox
erypvbaox
ogwrmtsy
mpsbgxzrdl
vthapbbonu
udrddzlv
wqigfykk
apvzgitcs
erypvbaox
erypvbaox
erypvbaox
erypvbaox
ttbdotyzz
pfddlrsz
erypvbaox
btlytqed
nnliabekw
erypvbaox
erypvbaox
criicthq
erypvbaox
erypvbaox
erypvbaox
wuvzlhsdm
erypvbaox
erypvbaox
erypvbaox
erypvbaox...

output:

erypvbaox

result:

ok "erypvbaox"

Test #49:

score: 0
Accepted
time: 11ms
memory: 3652kb

input:

99999
nzalezlq
ghdfptpisl
nzalezlq
nzalezlq
wnksxppls
nzalezlq
nzalezlq
nmwlvymhth
rjalnerif
scvmjaaaz
ccuhunly
fgbsmecje
nzalezlq
nzalezlq
lxfexhgkj
nzalezlq
nzalezlq
ntlemkkisf
nzalezlq
nmwlvymhth
nzalezlq
xbvdtvcy
scvmjaaaz
rjmtmtrkvb
ghdfptpisl
nzalezlq
zupjazoog
daqsppav
nzalezlq
qundezkgj
zewp...

output:

uh-oh

result:

ok "uh-oh"

Test #50:

score: 0
Accepted
time: 12ms
memory: 3652kb

input:

99999
igfqkggf
uyspmhbneq
vgrsvnxe
qyvprfrth
kfmjsvhezz
ftveeenwg
plxpavpo
rceaysgay
ttdqxdeg
plxpavpo
xfflauxlf
zrmaljgui
ccsxhupdq
pkdkprkoj
cumganey
ikkbuakyku
qivdtoimsh
vibjcvgcdy
vogowxgzj
rmnqdefix
owucboyml
nlsvblxz
urtcjxcl
urtcjxcl
yohyeewvtr
ivhcyhig
ctrbjctxiv
lhlqynswsv
xuiqoqyj
qyvprfr...

output:

uh-oh

result:

ok "uh-oh"

Test #51:

score: 0
Accepted
time: 5ms
memory: 3812kb

input:

99999
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympkte
ajympk...

output:

ajympkte

result:

ok "ajympkte"

Extra Test:

score: 0
Extra Test Passed