QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#862958#9921. Yelkrabucup-team4645WA 766ms90520kbC++231.3kb2025-01-19 11:15:052025-01-19 11:15:06

详细

Test #1:

score: 100
Accepted
time: 753ms
memory: 90316kb

input:

2
5
aa
ab
ab
ac
d
1
aaaaa

output:

2 6 1 9 8 
5 

result:

ok 6 numbers

Test #2:

score: 0
Accepted
time: 762ms
memory: 90520kb

input:

10
10
bba
bbaaaabbbaaabaabbbaaaaaababaababbb
b
baaabbaab
babbb
bbbbbaaaaababbabbabbb
bbaaaabbabb
b
aaaaabab
abbbabbabab
10
abb
ab
bbaaaba
bbabbabba
bbbabbbababaaaab
b
aaaa
babababbb
ab
a
2
aaaaabbaabbbbbababbbbbaabababbbaaababbbaaaaabbbaabaabababbaababbabbabbaababbbbbabbbabaaabbbabab
abbaaaaaaaabbaa...

output:

3 35 35 32 60 75 76 67 75 120 
3 1 8 31 41 40 43 55 58 54 
95 146 
32 38 39 41 51 79 79 70 70 112 
3 22 47 90 91 117 129 146 157 
40 53 62 63 
12 46 51 51 83 111 99 113 126 106 
10 45 48 49 89 
12 22 28 37 61 67 70 123 102 118 
50 

result:

ok 71 numbers

Test #3:

score: 0
Accepted
time: 766ms
memory: 90344kb

input:

100
6
baaaab
aadabdbdadabbbbcda
ccbc
b
dccaddba
da
7
aad
dababba
addbdbbbbdabdaadacbabadabdcccbdccabadbbddddaaaddbdbcaa
abcddd
c
bddcc
ca
9
daadbbcaa
bacbdbaab
bcbaba
acbcbd
ac
b
bddcddcdccacdcbbccaccdbc
dabbdccabb
accbbbc
12
bcbdabba
ac
b
cdbbaa
cdaa
bddac
bbacbcaacbbbbbaa
b
dadcbd
bcc
bbbdbcdacbbb...

output:

6 24 28 31 39 35 
3 10 66 71 70 77 73 
9 18 26 28 38 36 54 72 75 
8 10 9 19 19 31 37 33 59 57 73 82 
9 23 33 39 70 68 
15 81 
19 182 241 252 262 306 321 352 
14 26 24 37 33 38 51 48 57 105 112 116 
40 
1 0 22 54 
126 
64 120 125 
17 28 51 66 103 104 131 
1 13 19 29 31 47 47 45 62 61 71 69 
226 
10 2...

result:

ok 698 numbers

Test #4:

score: -100
Wrong Answer
time: 761ms
memory: 90388kb

input:

100
1
aaabbbbaaabbabbaabbababababab
12
abb
a
bbab
b
aaabbabaaabbbba
bb
baba
bb
a
aba
abaabb
bb
7
aa
aaabaabbaabbaabaaaaaaabbabbaabbb
bbaaabaaaaaababbababbbaabbbbabbbaabbaabaaabbbaaababaaaaaabbabaaaabbaab
aaabbbaaaabaaabababbaabaaabbbbbbbaabaabbbaabbbbbbaaabb
abababbbabbabaaabaabbbbbbaaa
ababaaababab...

output:

29 
3 6 10 13 31 26 20 32 47 35 49 32 
2 38 108 144 178 248 253 
12 28 40 84 125 107 134 143 174 230 211 221 
1 0 7 9 12 13 10 14 
19 20 38 42 
1 5 11 10 10 
7 19 23 
11 16 18 29 85 112 97 233 
1 4 7 4 0 25 31 39 50 57 56 56 
3 7 11 11 13 0 26 27 7 8 6 54 
40 
72 108 136 151 159 157 153 200 246 201 ...

result:

wrong answer 367th numbers differ - expected: '26', found: '10'