QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#583369#8829. AibohphobiaMaMengQiWA 14ms3712kbC++14994b2024-09-22 19:41:132024-09-22 19:41:13

详细

Test #1:

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

input:

5
a
sos
abba
icpc
tenet

output:

YES
a
YES
oss
NO
YES
cipc
YES
entet

result:

ok Correct (5 test cases)

Test #2:

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

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
jtvtt
NO
YES
elnpv
YES
ijti
NO
YES
loo
NO
YES
qu
YES
gmvgv
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: 3616kb

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
berszrrrrr
YES
ree
YES
ghlryyy
YES
bkwxwwwwx
YES
aghisah
YES
gklsvzvv
NO
YES
hqryhqqqqr
YES
dfgsffffff
YES
suzssuuzz
YES
bcdnrwynrr
YES
acelueel
YES
cfwccccwww
YES
eimeeem
YES
eswxeeesx
YES
kmpykkkkk
YES
deimorze
YES
fhllll
YES
cluyllll
YES
qruqqru
NO
NO
NO
YES
cn
YES
jlzjllllz
YES
...

result:

ok Correct (138 test cases)

Test #4:

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

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
flpuvffpuuvv
YES
cdghnqtuvcccccv
YES
dgijqrddddddgq
YES
imniiiiiiiiiiii
YES
deijqsxqqqq
YES
jkvzkkkkkkkkkvz
YES
aegimnwzaaaagmw
YES
bdgbbbdddgggg
YES
beqrxzbbrx
YES
chklqstxyxyyy
YES
bdjprvjrrrrrr
NO
YES
agkqykkqqyy
YES
aefiteeeeeee
YES
abfhlqsxbbbfq
YES
bcdeovzcccvvv
YES
abeiqiiiiiiiii
YES
ehxe...

result:

ok Correct (683 test cases)

Test #5:

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

input:

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

output:

YES
abfhkqruzaaahhhqzzzz
YES
dmopsvwddmmpsswww
YES
befhjknvxzbfhjkkxzz
YES
aegoqrvwaoqqqq
YES
dehsxzddeeeeeeeeeehz
YES
acdfhijkqrvzacckqqqr
YES
dkquxzdkkkkqqqqqq
YES
jrturrrtttttttuuuuuu
YES
acdghklmtwyaagkty
YES
hjqxhhjjqqqxxx
YES
fkzfffffffffkkkkkkz
YES
boqybbbbbboooqqyyy
YES
elryeeeelllllrryyyy
Y...

result:

ok Correct (2713 test cases)

Test #6:

score: 0
Accepted
time: 14ms
memory: 3568kb

input:

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

output:

YES
fghmqtvfghhhhhhhhmmmmmmmmmqvvvv
YES
acipsyaaaaaaaaaaaiiipppppppppps
YES
aefgipqruwagggggggggggggiqrru
YES
ikmnqsiikkksssssssssss
YES
bdhikmprtvyhhhimmmmmmmrrrtvvvy
YES
bcefgklpqrtuxzllllllppp
YES
bkpstbbbbbbkkkkkkpsssttt
YES
cgnvcggggnnnnnnnnnnnvvvv
YES
dhjlmnstuyhhhhjmmtuuyyyyyyyyyyy
YES
abcegk...

result:

ok Correct (35444 test cases)

Test #7:

score: -100
Wrong Answer
time: 1ms
memory: 3652kb

input:

1
lllvrvrqtekpyfwztplrzmkfmlvllvjmzffllrmemmyjmlllwbiruatutvvumfttuemtjvmfvmjktlfzwmllfitqtvjtqftvergkqtebzjmwtvfjklklgjjevuuqrjzltrutklzytzvjyjuzlvjlivilvwtztijfrmvfkmfkiuxrtpftibbrlzvltbljbjtiqlzzjtyvljklvluutzqjvltenvtjlmtjyejvvlverflbvmkvjfwtlvrvmpbtpllvpbklqkulezkmrmltljvtklvitqelmvqvvfqfofkfyu...

output:

YES
abefgijklmnopqrtuvwxyzaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

result:

wrong answer Not a permutation (test case 1)