QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#583133#8829. AibohphobiaZhangYiDeWA 61ms4416kbC++20930b2024-09-22 18:32:422024-09-22 18:32:42

詳細信息

Test #1:

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

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: 3752kb

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: 1ms
memory: 3744kb

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
suzssuuzz
YES
bcdwynrnrr
YES
aculelee
YES
fwcwwwcccc
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: 2ms
memory: 3612kb

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
lpfuvpffuuvv
YES
dghnqtuvcvccccc
YES
ijrgqdgqdddddd
YES
mniiiiiiiiiiiii
YES
deijsxqqqqq
YES
jvzkvzkkkkkkkkk
YES
einzgmwagmwaaaa
YES
bdgbbbdddgggg
YES
eqzrxbrxbb
YES
chklqstxyxyyy
YES
bdpvjrjrrrrrr
NO
YES
agkqykkqqyy
YES
afiteeeeeeee
YES
ahlsxfqbfqbbb
YES
bdeozcvcccvvv
YES
abeqiiiiiiiiii
YES
hexh...

result:

ok Correct (683 test cases)

Test #5:

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

input:

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

output:

YES
bfkruqahzqaaahhhzzzz
YES
ovpdmswpddmmsswww
YES
envbfhjxkzbfhjxkkzz
YES
egrvwaoqaoqqqq
YES
sxhzdehzddeeeeeeeeee
YES
dfhijvzakrcqakrccqqq
YES
uxzdkqdkkkkqqqqqq
YES
jrutrrruuuuuuttttttt
YES
cdhlmwgktyagktyaa
YES
hjqxhhjjqqqxxx
YES
zkfzkkkkkkfffffffff
YES
qoybqqoooyyybbbbbb
YES
reylrreeeeyyyylllll
Y...

result:

ok Correct (2713 test cases)

Test #6:

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

input:

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

output:

YES
tfgqvhmfgqvvvvhhhhhhhhmmmmmmmmm
YES
cysipasiiippppppppppaaaaaaaaaaa
YES
efpwaiqurgaiqurrggggggggggggg
YES
mnqiksiikkksssssssssss
YES
bdkpityhrvmityhhhrrrvvvmmmmmmm
YES
bcefgkqrtuxzplpppllllll
YES
pstbkpssstttbbbbbbkkkkkk
YES
cgvncggggvvvvnnnnnnnnnnn
YES
dlnsjtmuhyjtmmuuhhhhyyyyyyyyyyy
YES
bcegmu...

result:

ok Correct (35444 test cases)

Test #7:

score: -100
Wrong Answer
time: 6ms
memory: 4416kb

input:

1
lllvrvrqtekpyfwztplrzmkfmlvllvjmzffllrmemmyjmlllwbiruatutvvumfttuemtjvmfvmjktlfzwmllfitqtvjtqftvergkqtebzjmwtvfjklklgjjevuuqrjzltrutklzytzvjyjuzlvjlivilvwtztijfrmvfkmfkiuxrtpftibbrlzvltbljbjtiqlzzjtyvljklvluutzqjvltenvtjlmtjyejvvlverflbvmkvjfwtlvrvmpbtpllvpbklqkulezkmrmltljvtklvitqelmvqvvfqfofkfyu...

output:

YES
angopxwyqubiefrzkmjtvlaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaannnnnnnnnnnnnnnnnnnnnnn...

result:

wrong answer Not a permutation (test case 1)