QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#457117#8829. Aibohphobiaucup-team1624#WA 20ms4016kbC++141.3kb2024-06-29 08:11:142024-06-29 08:11:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
a
sos
abba
icpc
tenet

output:

YES
a
YES
oss
NO
YES
iccp
YES
neett

result:

ok Correct (5 test cases)

Test #2:

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

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
jtttv
NO
YES
elnpv
YES
jiit
NO
YES
loo
NO
YES
qu
YES
mggvv
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: 3904kb

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
berrrrrrsz
YES
ree
YES
ghlryyy
YES
bkwwwwwxx
YES
gaahhis
YES
gklsvvvz
NO
YES
yhhqqqqqrr
YES
dfffffffgs
YES
suuuzzzss
YES
bcdnnrrrwy
YES
aceeellu
YES
fcccccwwww
YES
ieeeemm
YES
weeeessxx
YES
mkkkkkkpy
YES
deeimorz
YES
fhllll
YES
cllllluy
YES
rqqquur
NO
NO
NO
YES
cn
YES
jlllllzzj
YES
...

result:

ok Correct (138 test cases)

Test #4:

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

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
lfffppuuuvvv
YES
dccccccghnqtuvv
YES
idddddddggjqqr
YES
miiiiiiiiiiiiin
YES
deijqqqqqsx
YES
jkkkkkkkkkkvvzz
YES
eaaaaaggimmnwwz
YES
bddddgggggbbb
YES
ebbbqrrxxz
YES
chklqstxxyyyy
YES
bdjjprrrrrrrv
NO
YES
agkkkqqqyyy
YES
aeeeeeeeefit
YES
abbbbffhlqqsx
YES
bccccdeovvvvz
YES
abeiiiiiiiiiiq
YES
heee...

result:

ok Correct (683 test cases)

Test #5:

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

input:

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

output:

YES
baaaafhhhhkqqruzzzzz
YES
odddmmmppsssvwwww
YES
ebbffhhjjkkknvxxzzz
YES
eaagooqqqqqrvw
YES
sdddeeeeeeeeeeehhxzz
YES
daacccfhijkkqqqqrrvz
YES
uddkkkkkqqqqqqqxz
YES
jrrrrttttttttuuuuuuu
YES
caaadgghkklmttwyy
YES
hjjjqqqqxxxxhh
YES
zffffffffffkkkkkkkz
YES
qbbbbbbbooooyyyyqq
YES
reeeeellllllyyyyyrr
Y...

result:

ok Correct (2713 test cases)

Test #6:

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

input:

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

output:

YES
tffgghhhhhhhhhmmmmmmmmmmqqvvvvv
YES
caaaaaaaaaaaaiiiipppppppppppssy
YES
eaafggggggggggggggiipqqrrruuw
YES
miiikkkknqssssssssssss
YES
bdhhhhiikmmmmmmmmprrrrttvvvvyy
YES
bcefgklllllllppppqrtuxz
YES
pbbbbbbbkkkkkkkssssttttp
YES
cgggggnnnnnnnnnnnnvvvvvc
YES
dhhhhhjjlmmmnsttuuuyyyyyyyyyyyy
YES
baaceg...

result:

ok Correct (35444 test cases)

Test #7:

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

input:

1
lllvrvrqtekpyfwztplrzmkfmlvllvjmzffllrmemmyjmlllwbiruatutvvumfttuemtjvmfvmjktlfzwmllfitqtvjtqftvergkqtebzjmwtvfjklklgjjevuuqrjzltrutklzytzvjyjuzlvjlivilvwtztijfrmvfkmfkiuxrtpftibbrlzvltbljbjtiqlzzjtyvljklvluutzqjvltenvtjlmtjyejvvlverflbvmkvjfwtlvrvmpbtpllvpbklqkulezkmrmltljvtklvitqelmvqvvfqfofkfyu...

output:

YES
abbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

result:

wrong answer Not a permutation (test case 1)