QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#584025 | #162. Merges and Acquisitions | 3un_larryfunc | AC ✓ | 1ms | 3848kb | C++23 | 1.3kb | 2024-09-23 04:23:47 | 2024-09-23 04:23:47 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3616kb
input:
acmicpc tsukuba
output:
No
result:
ok single line: 'No'
Test #2:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
hoge moen
output:
Yes
result:
ok single line: 'Yes'
Test #3:
score: 0
Accepted
time: 1ms
memory: 3540kb
input:
abcdefg xacxegx
output:
Yes
result:
ok single line: 'Yes'
Test #4:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
bbaaabba bababaaa
output:
Yes
result:
ok single line: 'Yes'
Test #5:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
abbbabbbaaaabaabbaaab babaaabbbababbbbbbbba
output:
No
result:
ok single line: 'No'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
aaaab abccb
output:
No
result:
ok single line: 'No'
Test #7:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
cbcbcaccbabaabaab bbbbbaaabcbabcacc
output:
No
result:
ok single line: 'No'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3544kb
input:
cbabdbdbdbaabcc bccabcabcaabdcd
output:
No
result:
ok single line: 'No'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
bbacbacbacbb bbbcacdddcdd
output:
No
result:
ok single line: 'No'
Test #10:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
ccbedcdceeddbbebbcbeeddd ecdceeedeeadaacdacddaabb
output:
No
result:
ok single line: 'No'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
bccbebbbebdcdaebb bacdacddaebdcacad
output:
No
result:
ok single line: 'No'
Test #12:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
abfcedbacefaafc bccabfacbbbffcf
output:
No
result:
ok single line: 'No'
Test #13:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
d d
output:
Yes
result:
ok single line: 'Yes'
Test #14:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
cbegeccgfedcag addgbggaacbbdg
output:
No
result:
ok single line: 'No'
Test #15:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
ebefgdcgecadecffbccdeg fccggegafdecfegffdaefc
output:
No
result:
ok single line: 'No'
Test #16:
score: 0
Accepted
time: 1ms
memory: 3532kb
input:
dcd heh
output:
No
result:
ok single line: 'No'
Test #17:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
agddff cdfbbd
output:
No
result:
ok single line: 'No'
Test #18:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
ehbbfdieaie dchigebgiea
output:
No
result:
ok single line: 'No'
Test #19:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
dbfahbhdgcifcihaabghcfica ddhbcddgeedfgaihadecaddcb
output:
No
result:
ok single line: 'No'
Test #20:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
cbfhhceadcdiahiighihbaebefegh dacdhhgjijjbdhjgggigbgbcjiabd
output:
No
result:
ok single line: 'No'
Test #21:
score: 0
Accepted
time: 1ms
memory: 3492kb
input:
fbaiejbcia ggfefdifcg
output:
No
result:
ok single line: 'No'
Test #22:
score: 0
Accepted
time: 1ms
memory: 3764kb
input:
ibeifkbggcffahcabcgikfccad kkkiaackbcgcjddigkkcgkjkfd
output:
No
result:
ok single line: 'No'
Test #23:
score: 0
Accepted
time: 1ms
memory: 3540kb
input:
fgfdhf agibke
output:
No
result:
ok single line: 'No'
Test #24:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
bbbbbaabbabbaabbabbbbaaabbbbbbaabaabaaabbabbababaaaababaabbbaaababbbbaaabbbbbaabaabbaaaababbbaaaababbaaabbbbbbbababbaabbaababbbaaaaabbbbaaaabaabaabaaaaaabbaabaabbaabbaabaabaababbbabbaaaaabababbbbbaaaabbbbaabaabbbababbbbbabaababaabaaaabbbbabaabbbabbababbabbaabaaabbaabababbaabaabaababbbabbabbbabbbbbab...
output:
No
result:
ok single line: 'No'
Test #25:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
bbbabbbaaabaabaabbabbabaababbbaaabbbbaabababbaabbbaaaabbabababbbbbbaabaaababbaaaaabbbaaabbaabbbbbbabbaabaabbaaabababbabaaaaaabaaaababbbaabbabbaaaabbaaababbababbaabaaabbbaabbbaabbabaaaaababaabaabaaaabbbabaaaaaaabababaaaaabbababbaababbabaabaabaaabaaaabbaaabaababbaaaabbbbbbbbbbbabbbbbbbabbbbaabaaabaabb...
output:
Yes
result:
ok single line: 'Yes'
Test #26:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
abaababbabbbabbaaaaabbaabbbbaabbbabbaaaaaabaaaaaabaabbbbaaaaaabbabbaaaaaabbabaabbbaababaaababbabbbabbabaaaababbaabaababaaabaaabbaaababaabbbbbaabbababbabbababbbbaababaaaaababababbaaaaabbaaabbaabbaaabbbaaabaaabaaabbbbbbbbabaaabbbbaabbbbaabbbbaababbbbbbabaaababbaaaabbbbbabbbbabbababbaaabbbaaababaaabbaa...
output:
Yes
result:
ok single line: 'Yes'
Test #27:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
aaaabbaabababababbabbaabbbbaabbbbaaabbbaababbaabaabaaababaabbbaaabaaaaabbaaabababbbbababbabaaaaaabbbababbbbbbbbbbbaaabaabbabaabbabbaaaaabbaaabbabbaaabbbabbbaabaabaabbaababaabbbbaabbbbabaaabbbbaaabaababaabbaaaabbababaabbbbbbbabbababbaabbbaaababbbbbaabbbbbaaabaaabaaabbaabbaababbbababbaaabababaabbabbaa...
output:
Yes
result:
ok single line: 'Yes'
Test #28:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
bbbbabbaabbaababbabbabbbbbabbaaabbbbabbaabaaababbbabbbaabaabbbbbaababaabbaaababbababbaaaabaaabbabbbaabaaaabbababaababbbabaaaabaabbababaaaaababaaabbababababababaabaabbabbbbbbaaabbaabbababbababaabaaaaababbbabbbababababbaabbaaababbaaaaaaabaababbbbaaabababbaaabbbbbbbbabaabbabbbbaaaaaaabbababaababbbabbbb...
output:
Yes
result:
ok single line: 'Yes'
Test #29:
score: 0
Accepted
time: 1ms
memory: 3812kb
input:
abaaaabbbbbbaabbabbbbbabbabbaaaabaaaabaaaaaaaabbbbabaabaaabbaabbbabababaaabaabbabbbabbbabbaaabbbabaaaaabababbbbbbbaabbabaabaabbabaaaabbbbbabaabaaaabaabbaabbbbaabaabbabbababaabaabbbbaaaaaaabbbaabaabaababbbbababbbabbbabaaabbabbaaaaaabbababbbabaaaabaabaaabbbaababaaababababaabbabbaabbbbababbbaaabbbbbaaa...
output:
Yes
result:
ok single line: 'Yes'
Test #30:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
bbaaaabaababaabbababaabbbabbaaaaaaabaabbabbabaaaaaaaabaaaabbbaaaaabaaaabbbbbbabaabbbaabbbbbababbaaabaababaabbabbababaaabaaaabaabaabbabbababbbaaabaaaabbaaaaaaaabaaabaabaababaaabbaababaababbaababbabbbbbbaababaaabbababaaababbababbaaabababbbaaabbabbabbaabaababbbbabababababbbaabaababbabaaabaaaabbaababbab...
output:
Yes
result:
ok single line: 'Yes'
Test #31:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
abbababbababaaababbabbbaabbabbbbababaabaabbaaaaabaaabaabbabbbbbbababbabaaaaaabaaabbbbbabbbabaabbaabbabaabbabaabbbbaaaaaaaaabbabbaaabbbababaaaaabbabaaabbabbabaabbbbaababaaababbaababbbbbbabaaabbbabbbbbbbabaaababbbbaaababbaababbbaaaabbababaabbabbbabbbabaaaaabbbbabababaabbababaaaabbabbabbaabaabbabbbbaaa...
output:
Yes
result:
ok single line: 'Yes'
Test #32:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
aabaaabaabaababaababbabaaaababbbaabbabbabaaabababaaabaaaaaaaaaabbabaabbbaaababbaaaabaaababbabaaaabababbbaaaaaaabbbaaaaabababaabaaaabbbababbbbbabbababbbbbaabaaabbabbaabaaabbabbababaabaabaabbbabbbabbbaaabbbabbababbbabbabbbaaababaabbabaabbaaaaabbaaabbbaaabbaaaaaaaabbaabaababaabbabbbaabbbaaaaaababbaaaba...
output:
Yes
result:
ok single line: 'Yes'
Test #33:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
baaaabbababaabaabababbbaaaaabaabbbabbaaaabababbabbbbaaaaabbbbababbbababaabbbabbbabaaaaabbbbbabbbbabbbabbbaaaabbaabbbaaaaabbbbababbbabbbbaaabbbaaaababaabaabaaababbbbabbabbaaaaaaaaaabaababbabbabbbbbbbbbbabbaabaaabaabaaaababbabaabaaabbbbbaabbaaaaababbbababaaabbbbaaabaaabaabaaabaabaaaaaaaaabaaabbabaabab...
output:
Yes
result:
ok single line: 'Yes'
Test #34:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
bbbabbbbabaabbabbbbbbbabaaabbabbbbabbabbbaabaaabbabbaabbaaaaaaabaabbbbaabbaabaaabbbabaaabbbabbaaaabbbababaabaaabbbbabaaabaabbaaabbabaabaabbaaabaababbaabaaababaababbaaaaabaaabaaaabbaabaabaabaaabbaabbaabbaaabbbbbbbaababaabbbabababaaaaabbaabbbbbaaabaabbbbbabbaaaabbabaabbbabaaaaaabbbaaababbabbababbababb...
output:
No
result:
ok single line: 'No'
Test #35:
score: 0
Accepted
time: 1ms
memory: 3724kb
input:
wbcdugsigbadgwdjcnznraospkxxjtkbratqjyupbkhzsccsfpmmlzjfwzybbwlwlzxzftnfjnzjkuuypxbzizfbjwfpriboezxebcrqkufavpvuitlwzrriqyuijtyggvqrrrugybqgrkmymqsohyugnrunqqwmcmxljvcyrmqxvjxixlfvjvffqtwqnubytbafwrxipedrjjqzxdwdgmfltisbghorrcoguarlsqqvhnptgwaapiatqqumjtygqnmhmuyezlpawpzkkzecjspopwsbczuwjtoalvvvbovh...
output:
No
result:
ok single line: 'No'
Test #36:
score: 0
Accepted
time: 1ms
memory: 3848kb
input:
ababbabbbabbbbaaabbabababbaaabbababbaabbaaababbbbaaabababbbbaabbbbabababbbabababbbbaaaaaaaaaabaabaabbabaaabaaaaabbbbabaaabaabbbbbabaaaabaaaaabaabbbabaabaaaaabbbbbbababbaabbabaaaaabababbbababbaaabbbbababbabbabbabaabbaabbbaabbbaabaababbaabbbabbababaaaabaabaabbaaabababaaabbaaaaabbaabababbbaabbbabbaabba...
output:
No
result:
ok single line: 'No'
Test #37:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
abbaaaabbbaaaaaabbbbaaaaaabbbbbbabbaaaaaabbabaaabbaaaabbaaaabbabbabaaaaaaabaaaababbbabaaaababaaaaabbaaaabaaaababbaabbabbbaabaabbabbbabbaaabababbaababaaaabbabbaabbaabbbaaaaaabaabaaabbabaaabaaaabaababbbaaaababbabbaabbaabababbbbbaaaabbabaaaaababbbbbabbbaaaaabbaaaabbbbbbaabbbbaaaabbaabbbbabbaaabbabbbaaa...
output:
Yes
result:
ok single line: 'Yes'
Test #38:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
aaaaaaabbbbababbbaaaababaababbaaababbabbbabaaaabbababbaababbbbabbbaabbababaaaaaaaaababaabbbbaabaabbbaabaaabababbbaabaabbaabababababbbbbabbaabbbabbaababbbbaaababbbbbaaabaabaabaabaaabaabbaaaaaabbbabaaababaabbabaaaaaaaaaaababbbababbbaababbbbbaabbaaabbaaaaaababaababaabbababbbabbbabbabaaababbaaaaabaababb...
output:
Yes
result:
ok single line: 'Yes'
Test #39:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
bbabbbbababbbbbabaabaaababbabbbbbbbbaaababbaabaaabbabbabbaaaaaabbaaaaabaabbababbbbbabababbbbbbbabbababaababbaaaabaaabababbaaababbbabababababaabaaababababaabaabbaaaabaababbababbbaabbbababaababbabaaabbaabaababaabaaaababbaaaaabaaabbabbaaaaabaaabbabaaabaababaaaaababbbabaaabbbaaaabbbbbbbabbababbaabaabaaa...
output:
Yes
result:
ok single line: 'Yes'
Test #40:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
stststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststst...
output:
Yes
result:
ok single line: 'Yes'
Test #41:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...
output:
Yes
result:
ok single line: 'Yes'
Test #42:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
tstststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststststs...
output:
Yes
result:
ok single line: 'Yes'
Test #43:
score: 0
Accepted
time: 1ms
memory: 3496kb
input:
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss tststststststststststststststststststststststststststststststststststststststststststststststststststststs...
output:
Yes
result:
ok single line: 'Yes'
Test #44:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...
output:
Yes
result:
ok single line: 'Yes'
Test #45:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
m a
output:
Yes
result:
ok single line: 'Yes'
Test #46:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
abab aaaa
output:
Yes
result:
ok single line: 'Yes'
Test #47:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
abab bbbb
output:
Yes
result:
ok single line: 'Yes'