QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#757726#8829. Aibohphobiaucup-team4645#TL 211ms3624kbC++231.8kb2024-11-17 12:51:382024-11-17 12:51:40

詳細信息

Test #1:

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

input:

5
a
sos
abba
icpc
tenet

output:

YES
a
YES
oss
NO
YES
ipcc
YES
netet

result:

ok Correct (5 test cases)

Test #2:

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

input:

18
qnx
oooo
tvttj
zzzzz
pvlne
iijt
hjhjj
loo
hh
uq
mgvgv
ewwe
iii
kykk
o
mmumm
aetvv
xntl

output:

YES
nqx
NO
YES
jvttt
NO
YES
elnpv
YES
jtii
NO
YES
loo
NO
YES
qu
YES
mgvgv
NO
NO
YES
ykkk
YES
o
YES
ummmm
YES
aetvv
YES
lntx

result:

ok Correct (18 test cases)

Test #3:

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

input:

138
gcseqpht
brrrzsrerr
ree
lgryyyh
wbxkwwwwx
hsihaga
kvvslzgv
dssd
qhrqqqrqyh
dfffffsfgf
ssuzuuzzs
rrwnyrcdnb
ealelecu
ccfwwwccwc
emeieme
xeexeswes
ymkkkkpkk
eimderoz
lflllh
lluylcll
rquqrqu
mllmllll
cscscc
ssssssssss
cn
llljlzlzj
h
kbbxahczit
yxrrrrxlkr
uikiakika
tntnnqntw
sjhxyfsy
fcyyyf
dbvbvdbw...

output:

YES
ceghpqst
YES
beszrrrrrr
YES
ree
YES
ghlryyy
YES
bkxwxwwww
YES
gisahah
YES
gklszvvv
NO
YES
yhrqhrqqqq
YES
dgsfffffff
YES
suzsuzsuz
YES
bcdwynrnrr
YES
aculelee
YES
fwcwcwcwcc
YES
imemeee
YES
wsxesxeee
YES
mpykkkkkk
YES
dimorzee
YES
fhllll
YES
cuylllll
YES
ruqruqq
NO
NO
NO
YES
cn
YES
jzljzllll
YES
...

result:

ok Correct (138 test cases)

Test #4:

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

input:

683
ufvvflppuvfu
ccgchccndvvtqcu
dqgqdddrgddjid
iiiiiiiiiiimiin
dqsiejxqqqq
kkkjzkkzkkvvkkk
aaeamagwzwagmni
bgddgdbbggdgb
xebbzbqrrx
tyxkqsyyclhyx
bjpdrrrrrrjrv
qzzqzzzqqq
ykgaykqyqqk
iefeeetaeeee
qqbabbfbslxfh
ovvczvcdcvecb
ieiiiaiqiiibii
hxeeeexeexxxxh
jxxxjxjrjjjx
jjzjjrzgqnjyj
rqqtzzptqopq
wbsyv...

output:

YES
lpfuvpfuvfuv
YES
dghnqtuvcvccccc
YES
ijrgqdgqdddddd
YES
mniiiiiiiiiiiii
YES
deijsxqqqqq
YES
jvzkvzkkkkkkkkk
YES
einzgmwagmwaaaa
YES
bdgbdgbdgbdgg
YES
eqzrxbrxbb
YES
chklqstxyxyyy
YES
bdpvjrjrrrrrr
NO
YES
agkqykqykqy
YES
afiteeeeeeee
YES
ahlsxfqbfqbbb
YES
bdeozcvcvcvcv
YES
abeqiiiiiiiiii
YES
hexh...

result:

ok Correct (683 test cases)

Test #5:

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

input:

2713
ahrfzkzqahzahbqahzzu
vwwwdpdsopmwmdmss
zhkzhzjefkvnjfbxxbk
oawqeraqvqoqqg
eeeeedsxddeehzeehzee
afrzcqrhdqikqcvqcakj
xqkkkzqquqqkqqkdd
urtrttjuruttutruutut
mktgalyydawhgtcka
qjhjjxxqhhqxqx
fkfzfkffkfkkfffkkfz
byyyqbbboboyqqoobb
eyeyylrleeylerllrly
ggfgzqgyqvqlehnq
rrsjrrjrrjjjjrrrzrr
qyqqyycrqrr...

output:

YES
bfkruqahzqahzahzahzz
YES
ovpdmswpdmswdmsww
YES
envbfhjxkzbfhjxkzkz
YES
egrvwaoqaoqqqq
YES
sxhzdehzdedeeeeeeeee
YES
dfhijvzakrcqakrcqcqq
YES
uxzdkqdkqkqkqkqqq
YES
jrutrutrutrututututt
YES
cdhlmwgktyagktyaa
YES
hjqxhjqxhjqxqx
YES
zkfzkfkfkfkfkfkffff
YES
qoybqoybqoyboybbbb
YES
reylreylreyleyleyll
Y...

result:

ok Correct (2713 test cases)

Test #6:

score: 0
Accepted
time: 211ms
memory: 3564kb

input:

35444
vvgmvmmhtmgmmhvfhhhmhmqmqhmhhvf
aiiaaaaipaiapsspcppaaappppypapa
qgprgwugggggiqargigggugefgarg
ssikskkmiisksqsssssssn
dtvmryhhtikrrhmmhmmymrmimbvpvv
cpbpprllqzletlllplugkxf
sbpkbkbsptsbkkkbtbtsktkb
ngvnnvnvgcgcnvnngnnnnvgn
mhhyltymyjhynhhyymtyuuuyydjyyys
vlbkkgmtekutxaltkltttkkcakttlkl
njemezmg...

output:

YES
tfgqvhmfgqvhmvhmvhmvhmhmhmhmhmm
YES
cysipasipaipaipapapapapapapapaa
YES
efpwaiqurgaiqurgrgggggggggggg
YES
mnqiksiksiksksssssssss
YES
bdkpityhrvmityhrvmhrvmhrvmmmmm
YES
bcefgkqrtuxzplplplpllll
YES
pstbkpstbkstbkstbkbkbkbk
YES
cgvncgvngvngvngvnnnnnnnn
YES
dlnsjtmuhyjtmuhymuhyhyhyyyyyyyy
YES
bcegmu...

result:

ok Correct (35444 test cases)

Test #7:

score: -100
Time Limit Exceeded

input:

1
lllvrvrqtekpyfwztplrzmkfmlvllvjmzffllrmemmyjmlllwbiruatutvvumfttuemtjvmfvmjktlfzwmllfitqtvjtqftvergkqtebzjmwtvfjklklgjjevuuqrjzltrutklzytzvjyjuzlvjlivilvwtztijfrmvfkmfkiuxrtpftibbrlzvltbljbjtiqlzzjtyvljklvluutzqjvltenvtjlmtjyejvvlverflbvmkvjfwtlvrvmpbtpllvpbklqkulezkmrmltljvtklvitqelmvqvvfqfofkfyu...

output:


result: