QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#604140#8234. Period of a Stringucup-team4951WA 34ms18144kbC++143.0kb2024-10-01 23:46:482024-10-01 23:46:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
2
abc
abcd
4
bbcaa
cabb
acabbbb
a
3
ab
aab
bbaaaaab
3
ab
aab
bbaaaaaa

output:

NO
YES
abbca
abbc
abbcabb
a
YES
ab
aba
abaabaab
NO

result:

ok ok (4 test cases)

Test #2:

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

input:

5
1
ccecddbdbbcbbaded
3
cd
d
d
1
dcedec
2
dcec
cce
8
a
e
a
c
cc
cccccccc
c
b

output:

YES
abbbbbccccdddddee
YES
dc
d
d
YES
ccddee
YES
cced
cce
NO

result:

ok ok (5 test cases)

Test #3:

score: -100
Wrong Answer
time: 34ms
memory: 18144kb

input:

100
147
ababbbaaaaaababbbbbaabaabbbbaaaababbbbababaabbbbaaabbabaaaaaabbbbaabbaaaaaababbbaabbabbaaabbbaabbbabaabbbbaabaabbaa
aaaaabbbbababababbbaaaaaabaaaaabbaabaabaaababbabbabbabbaabbaaabbaabbaabaababaaabbababbbbbaabaaaaabbbbaabbbbbbaaabbbbabaababbbbb
ababbabaababbbbaabbbbaaabbabaabbaaaababbbabbaaab...

output:

NO
NO
NO
NO
NO
NO
YES
bbbbaaaaabbbbbbbbb
bb
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
bb
bbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbbbbbbb
bbbb
bbbbbbbbbbbb
bbbbbb
bbbbb
bbbbbbbbbb
bbb
bbb
b
bbbbbbbbbbbbbbbbb
bbbb
bbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbb
b
bbb
bbbbbbbbbbbbbbbbb
bbbbbb
bbbbb
bbbbbbbbbbbbbbb...

result:

wrong answer Jury has the answer but participant has not (test case 2)