QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#245988 | #4669. Genetic Modifications | Sham_Devour | WA | 235ms | 1038280kb | C++14 | 1.3kb | 2023-11-10 15:08:10 | 2023-11-10 15:08:10 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
const int N=1e5+5,M=8e4+5e3+5;
int n,m;
int sum[N],L[N];
char s[N],t[N];
bitset<M> tmp,base;
bitset<M> f[N],g[2];
bool check(int l,int r)
{
if(l>r)return 1;
else return sum[r]-sum[l-1]==0||sum[r]-sum[l-1]==(r-l+1);
}
int main()
{
for(int i=0;i<M;i++)base[i]=0;
scanf("%s%s",s+1,t+1);
n=strlen(s+1);
s[++n]='A';
m=strlen(t+1);
if(m>85000)return puts("NO"),0;
for(int i=1;i<=n;i++)sum[i]=s[i]-'A';
for(int i=1;i<=n;i++)sum[i]+=sum[i-1];
for(int i=1;i<=m;i++)g[0][i]=t[i]=='A';
for(int i=1;i<=m;i++)g[1][i]=t[i]=='B';
g[0][++m]=1;
f[0][0]=1;
int lst=-1;
for(int i=1;i<=n;i++)
{
int l=1,r=i-1;
while(l<r)
{
int mid=l+r>>1;
if(check(mid,i-1))r=mid;
else l=mid+1;
}
L[i]=l-1;
if(l-1==lst)f[i]=tmp;
else
{
tmp&=base;
for(int j=l-1;j<i;j++)tmp|=f[j];
f[i]=tmp;
lst=l-1;
}
f[i]<<=1;
f[i]&=g[s[i]-'A'];
tmp|=f[i];
//for(int j=1;j<=m;j++)cout<<i<<" --- "<<j<<" --- "<<f[i][j]<<endl;
}
if(!f[n][m])return puts("NO"),0;
puts("YES");
m--;
int now=n;
vector<int> vt;
for(int t=m;t>=1;t--)
{
int p;
for(int j=now-1;j>=L[now];j--)
if(f[j][t]){p=j;break;}
vt.push_back(p);
now=p;
}
reverse(vt.begin(),vt.end());
for(int x:vt)cout<<x<<' ';
return 0;
}
/*
0001101101
0110
*/
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3660kb
input:
BBAAABBAAABAAA BAAB
output:
YES 2 5 8 11
result:
ok good solution
Test #2:
score: 0
Accepted
time: 1ms
memory: 3772kb
input:
ABABABABAB ABAB
output:
NO
result:
ok no solution
Test #3:
score: 0
Accepted
time: 76ms
memory: 515520kb
input:
BBAAAAABBAAAAAABBABAABBBBBAABBBAAABABBABABBBAAABBAAAABBBBBABAABBBAABBBBBBBABBABABBAAAABBAAAABAAAABBABAAAAAAABBBBAAAAAABAABABBAAAAABBBBAABABABAAAAABBBABABBAABABBBBAABAABBBBBABBABABBAAABBAAAABBBABBABAAAABBBAABAAABBBAAAAAAAAAAAAABABBAABBBBABABAABBBBABAABBAAABABBBBAAAAAAAABBAAAABBABABABBBAAABAABBABBAAAA...
output:
NO
result:
ok no solution
Test #4:
score: 0
Accepted
time: 25ms
memory: 141552kb
input:
BABABAABABBABAAAAABAABBAAAAABABABBABABBBBBBBAAAAAAABAAAAABAABBABBABABBBABBBAAAABBBABABBAAAABBBAABBBBBBBAAAABAAAABBBBABBAABAABBBAABBBBABAABABBBBAABABBABBAABAABBBBBAAABBAABABBBBAABABBABAABAAAABBABABAABBBABBBBABABABABAAABBABABABABBABAABBBBABAABBABBBBABABBABBBBBAABBBBBAAABAABAAAABBBBBABBABABABBBBABBBABA...
output:
YES 1 2 4 5 7 8 9 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 65 66 67 69 70 71 72 73 74 75 76 77 78 79 81 82 83 85 86 87 88 89 90 91 94 95 96 98 99 100 101 102 103 104 105 106 107 108 110 111 1...
result:
ok good solution
Test #5:
score: 0
Accepted
time: 172ms
memory: 962456kb
input:
BAABBBBBBAAABABABAAAAABAABBAAABBAABBBAABABBBABBABBBABBBBABAABAAAAABBBBBBBABABABAABABAABAABBBBBBABABABABBABBBBAABAABBAAABABBAAAAAAABBAAAAAAAABAAABABBAAABABABBBABAAABBBAABAABBABBBBBBBBBABBBABBBABBAABAABBABABBBBAAAABABAABAABABBABBABBBBBAABABABBBBBABAABBABABAABBABAABABBBBABABBBBBBABBBABABBAAABBAAABBABBA...
output:
NO
result:
ok no solution
Test #6:
score: 0
Accepted
time: 208ms
memory: 1017540kb
input:
BBAABBAAABBBBAAABABBBABBBAABABAABBBABABBBAABBBBBBABBBAABABBBAAAAABABBABAABBAABABAABBAAABBBABAABBBAABAABABABBBBAABBBBBBBBBBBABBABABABBABBAAAAAAABAABABAABBABBABABBBBBAABBABBAABAABBBABBABBAABBBAAABBAAABABBBBBAAAABBAAABBAABABBABAABBBBAABBBAAAAAABBBAAAAABBBAAAABAABAAABBBAAABABBBABBBBBBBBAABABBABBBABAABAA...
output:
NO
result:
ok no solution
Test #7:
score: 0
Accepted
time: 11ms
memory: 149048kb
input:
BABBBBAABAAAAAABAAAAAABBABBABABAAABAAABAAAAABABAABABAABBBAAAABABBABAAABBBABAABBAABBBAABABBBABBBBBAAAABBAAABBBABBABBBAAABAABABABBABABABABBBAABABABAABBBBBAABAABBABAABABBBBBAABBAABABBAAABAAABABBBABABBBBAAABAABBBAABAABABBAABABAAAAABBBBAABABBBBBBABBBBBABBBABABBBAAAAAAABBAABAAAABAAAABBAABAABAABAABBBABBBAB...
output:
YES 1 2 6 8 10 14 15 16 20 21 22 24 26 27 29 31 34 35 37 38 39 43 44 46 48 49 50 52 54 57 59 60 61 63 64 65 66 67 69 70 73 75 76 77 79 81 84 85 86 87 88 91 92 94 95 96 97 100 101 103 105 106 109 111 112 114 115 116 118 119 121 122 123 124 125 126 128 129 130 132 133 134 135 137 138 140 142 143 144 1...
result:
ok good solution
Test #8:
score: 0
Accepted
time: 207ms
memory: 1018756kb
input:
AABABBAAAAABBAAAAABBBAAAAABBAABBBBBABBABABBAAAABAAABAABAAABBABBABBABAABBBBBBBAABABBBBBAAABABABABBBAABABABAAAAABBAABAABAABABABABBAABBBAABAABBAAAABBBBBBBBABBBBABAAAABAABBABABAAABABABBBAAABAAAABBBAAABBBAAABABBBAAABBBAAABBBBABAABAAABABAABABBAAAABBBAAABBBAABAAABABABBBBAABBABABBBBAAABAABBBBABBAABBBAAAABAA...
output:
NO
result:
ok no solution
Test #9:
score: 0
Accepted
time: 111ms
memory: 752740kb
input:
BBAAAAAABAAABBBAABABABAABABAAABABAAAAABBBAAAABBABBABAAABABAAAABBAABBBBBBBAABABABBBBABBABAABBBABAAAABBABABBBAABBAABBBABBABBAABBBAAABBABABAAAAAABBBABBBAABAAAABAAAABAAABAAAAAAABAAAAABBABBBAAAAABBBAAABBBABBBBBAAABBAABAAABAAABBBAABBABBAABAAABBAAABAAAAABAAABBBABAAABABAAAAAAAABBBAAAAAABAAABAAABBABABBABABBA...
output:
YES 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 29 30 32 33 35 36 37 38 39 40 41 43 44 45 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 98 99 100 101 102 103 104 106 107 109 111 114 115 116 ...
result:
ok good solution
Test #10:
score: 0
Accepted
time: 158ms
memory: 878516kb
input:
BABBABBABBBAAABABBBBAAAABBBABBBAABBAAAAABBBBABBBAABAAAAAABAABAABABABBABABBBBBBBAAABAABABBBBABBAABBAAAABBBAAABAABBBBAABABBABBABBABAAAAABBABABBABBABBAABABBABBBBBAAAABABABAABAAABABBBAABBAAABAABBBBABAABBBBBBABBABAABBAAABBBBBBAABABABABAAABAABBAABAABABAABBBBBBBBABABABBBABABBBABABAAAAABBBBBAAAAAAABBBBABABA...
output:
NO
result:
ok no solution
Test #11:
score: 0
Accepted
time: 92ms
memory: 524800kb
input:
AAABBAAABABBBBBABBAAAAABABBABBBABABBAAABAABBBABBBAABBBBABBBAAABBBBBABAABBABABBBABAAABBAAABBBBBABBBBAAAABBAAABBBBABABAAAAAAAABBAAABAABBBABAAABBAAAAABABABABABABAABBBABBBBAABBAABBBBABBBBBBBBBBBAABAAABABBABAAABABABBABBBABBAABABAABBBBABAABAABABBABABBBBABAAABABABBAAABABABAAABBBAAABABAABBBBABAABBBAAABBBBBA...
output:
YES 2 3 5 7 8 9 10 12 13 14 15 16 18 20 21 22 23 24 25 28 30 31 33 35 36 38 39 40 42 45 46 48 49 50 51 54 55 57 58 59 61 62 64 65 66 67 69 71 73 75 76 78 79 81 83 84 86 89 93 94 96 97 98 99 102 103 106 107 108 112 114 115 116 123 124 126 127 128 129 130 132 135 136 137 138 139 140 142 147 149 150 15...
result:
ok good solution
Test #12:
score: 0
Accepted
time: 25ms
memory: 102536kb
input:
BAABBAABBBAABBAABAABABABBABBABABBAAAAABBBBBBABBABAAABBAAAAABBBABABABBABBBAAABABAABBABABAABAABBBAABBAAAABBBBABBBBBBBBBABAABBABAAABAAAABBABAABABBBBBBBABBAAAAAABABABBBABABBBABABABABBAAAAAAAABABBABBBABABBBBABAAABBBBBABBAAABAABABBBAABABABBBBAABBBBBABABBBBABABBAAABABAABABAAAABABBABAAAAABBBABAAABABABAABAAA...
output:
NO
result:
ok no solution
Test #13:
score: 0
Accepted
time: 147ms
memory: 842400kb
input:
BBAAAAABBBBBABAAAABABAAABBBABBBAABAAABAAABABAABBABAABABBBBBABABABAAAABABAAABABABBAABBABBBBBAABBABBABBABABBBAAABABBBBBBBBBBABBBBBABAAAABBABBAABBBBBAABAAABBAABABBBBBAAAAABAABABAAAAAAABBBBBAABBBBAABABAAABABABAABBAAABAABBAAABBBABAABAABAABBAABBABBABAABABBABBBABABAAABBABBBBAAABAAABBBBBBABABBBBBBAAAABAABAB...
output:
NO
result:
ok no solution
Test #14:
score: 0
Accepted
time: 60ms
memory: 294560kb
input:
BBBAAABABBBABAABBAAABAABAAABABABAAAAABABABBABAAABBABBAAABAABBBABABABBABBBAAAAABAABBBABBBBAABBBBBABAABBABABBBABBBBBAABABBAAAABBABABBAAABBBAAAABAAABAABBBBBABBBBABABABAAAABAAAAAAAABABBBABAAABBAAAABBAABAAAABABABAAAABAAAAABBBBBABAABAAAAAAAAAABABABBBBBAAABABAABABAABBBAABABBAABAAABAAAABABABAAABABBAAAABABAA...
output:
YES 1 2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 40 41 42 43 44 45 47 48 50 51 53 54 55 56 57 58 59 62 63 64 65 66 67 68 69 70 72 73 75 76 77 78 79 82 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 106 107 108 110 111 112 11...
result:
ok good solution
Test #15:
score: 0
Accepted
time: 180ms
memory: 1008076kb
input:
BBBABABABBBABAABAAAABBAABABBAABAABBBBAAAAABABBABABBBBBABABBBBABBBABBBBBABBBAABABAABAABBBBBBABAAABAABAABAABBBBBBBBBBAABABAABBAAABBAABBBBBBABBAABBBAAAABBBBAAAABAAAABBBAAAABAAABBBBAABABAAAAAABABAABAAAAABBBBBBAAABAABABBABBBAAABABBBAABBBBBBBBAAABABABBABABAABBBABAABAAAABABBBBBBBAAABAABBBBBBBAAABABABBBAAAA...
output:
NO
result:
ok no solution
Test #16:
score: 0
Accepted
time: 197ms
memory: 963376kb
input:
BABAAABAAABABBAAAAABBBABAABBABABABBBBBABABAABBAABAABAAAAAABABBBABABAABBBABAABBAABBBABBBAAAAAABBABAAAAAABAABABABBBBABABBABBBBBBBBBBBBBBAAAABAAABBBBBBBABBABBBAABBBBBBBAAAAABABBBAABAABABABBBBAAAABAAAABBABABBBABBABBABBBAAABBBABBBABBABBAABABAAABBAAABAAAAABAAAABABAABBABAAAAABAAAAABBABBBABBABBAAABABAAABAAA...
output:
NO
result:
ok no solution
Test #17:
score: 0
Accepted
time: 135ms
memory: 568556kb
input:
BBBBABBBABBAAAABBBBBBBBBBBABAABBAAAABBBABAAABABBBBABAAAAAABABABBABBBAAAAAAAABBABABBBABAABBABBAABABAABBAABBBBBABAABBBBAABBAABBBBAABABAAABBAAAAABABABAABAAABBBAABBABABBBAAAAAAAABAABABABBAABABABBBBBBBABABAAABBBBAAABABBAABBBBAAAAAAABBAAAABBAABBABBAAAABBAABABABBBAAAAABBAABABBBBAABBAABABBAAABBBAAABABAABBBA...
output:
YES 4 6 9 11 15 26 28 31 32 36 39 40 41 45 46 51 52 59 61 62 65 69 77 78 80 82 85 87 88 91 94 96 98 100 103 105 110 111 114 118 119 122 124 127 130 132 136 138 142 143 145 147 150 153 157 158 161 163 167 175 177 179 181 184 185 186 188 190 197 199 201 204 208 210 212 214 216 220 228 229 234 236 237 ...
result:
ok good solution
Test #18:
score: 0
Accepted
time: 124ms
memory: 567532kb
input:
BBABABAABBBBBABBBAAAABABBAAABBBBBBBBBBABAABABBAAABAAAABBBBAABBABABBBBAABBBBBBBBAAABABBABAAABBBAAAAAABBBBABBBAABBAAABAAAABABBBBAABAAABBAABABABBBABBBABBABBABBABABABBBBAABAAAAAAAAAAABBBABBBAAABBBBABAABBBBABAAAABAABBBAAABABAABABAABABABBAAABABBAABAAABBAAABABABAABAABABBAABBBAAABAABBAABAAABBAABAABBABAAAABA...
output:
YES 2 4 5 7 8 10 11 12 13 14 16 17 18 19 20 21 22 24 25 27 28 32 33 34 35 36 37 38 39 40 43 44 46 47 48 49 50 52 53 54 56 57 58 61 62 63 64 65 67 68 69 71 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 91 93 94 96 97 98 99 100 103 104 106 107 108 109 110 111 112 113 114 115 116 119 120 121 122 124 125...
result:
ok good solution
Test #19:
score: 0
Accepted
time: 188ms
memory: 891596kb
input:
BAABABBAAAAABAABBABBBBBBBBABBABABABAABABAABAABBBAAAABAABBAAABBBBBABABAABBBBAAAABAAABBBAAABABBAAABBAAABBBBABBBBBABABABBBABBBAAAABBABBAABAAABBBABAAAAABABAAABABAABBBAAABAABAABABAAAAAABBBABABBBBBBBABAAAAAABAAABAAAAABBABAABBBABBBBAABAABAABAABBBBAAABBABAABBAABBAABBAABBABBAAAABBBABABBBAAAAAAABAABBAAAAABBAB...
output:
NO
result:
ok no solution
Test #20:
score: 0
Accepted
time: 199ms
memory: 845660kb
input:
AAABBBBBBAAAAABABAAAABABABBAABAABBAAABBAAAABABBBBABABBBABAAABBBBABABABAAABAAABAABABBAABBABAAABABABABAABBAAAABBBBAAAAABBAABBBBAABABBBBBABAABAABBBAABABAABABBAAAAABAABBABAABABABAABBABAABBABBBBBABABBBAABABAABBBBAABBAABABBAABAAAABAABABAAAAABBBABBABAABBABABAABAAABAAABBAABAAAAAABBAAAAAAAAABABBBBBABBAAAAABB...
output:
YES 3 9 15 16 17 21 23 24 25 28 30 32 34 37 39 43 45 49 50 51 53 56 57 61 64 66 67 68 69 70 73 75 77 79 81 82 84 86 88 90 93 94 95 96 97 98 99 100 102 105 109 112 117 120 121 126 128 130 135 136 138 139 142 144 147 148 149 151 152 153 155 160 162 164 166 168 169 171 172 173 174 177 179 181 183 185 1...
result:
ok good solution
Test #21:
score: 0
Accepted
time: 167ms
memory: 891040kb
input:
BBBAABBAAAAABBAABBAAAAAABBABBBAABABABBBAABBBABABBABABAABABBABBABBAAABABBBBAABAABBBBABAAABABABBABBBBBBBABBABABAAABBAAAABABBBBAABBBAABBBBBABBBBBABBBABABABAAAABABABABAABBABBBABAAAABBAAAAABABBBABABAAAAABABBBAAABBAABBBBABABBAAABAAAAABBAABBAAABAAABBBABBBBAABABAABBBBABBAABABBABABAAABABAAAAAAABBABBBBAABAAAA...
output:
YES 2 3 4 5 7 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 26 28 29 30 33 34 36 39 41 43 44 45 47 49 51 52 53 56 57 60 61 62 63 65 67 68 70 73 74 77 79 84 85 89 91 92 95 103 104 105 106 107 109 112 113 114 115 116 117 118 120 124 126 130 131 137 138 139 140 141 142 143 144 145 146 148 149 150 151 152...
result:
ok good solution
Test #22:
score: 0
Accepted
time: 170ms
memory: 855860kb
input:
BBBABBAABAABBAAABBAAABAAABAAABBAABBBBBBBBABAABAABBBBAAABAABBBAABAABBBABABBABBAABBBAAABBABAAAAABABAAAAABBBABABBBAABAABBBBABBAAAAAABABAABABBBABBAABBBAABABBABAAABAAAABAAAAABBAABBBBBABBABBABBABAAABAAAABBBAAAABABABBBBBAAAAABBABAAAABABAAABABBBAAAABABBBAAABABAAAABAAABAABBBBBABAAABABAABBBBAAABAAAAAABABBAABA...
output:
YES 1 2 3 5 6 8 9 10 11 13 15 16 18 20 21 23 24 25 26 28 29 31 32 33 38 39 40 41 43 45 46 47 48 51 52 55 56 58 61 63 65 66 69 71 72 75 76 77 80 81 82 83 84 85 87 88 89 91 92 93 94 96 97 100 101 102 104 105 106 107 108 110 111 113 114 115 116 119 120 122 123 127 128 129 130 131 132 134 136 138 139 14...
result:
ok good solution
Test #23:
score: 0
Accepted
time: 124ms
memory: 548628kb
input:
BBAABBAABBABBABABBBABBBABBABBABBAABABABBBAABBABAABAABBABABABAABBAABBBBAAAAABABABABAAAABABBBABBBBBBBBBBAAABBBAAAAAABBBAAABBBBABABABABABBAAAAABBBBBABBBBBBAABBBABAABBBABABAABBBBBBBAABABAAAABABAABBBBABBAABBAAAAABABABBAAAAABBABABAABABBBBBAAAAABABABAAAAABAAAAABAAABBBBAAABBAABBABABBBAAABBBBBBABBAABBBABABBA...
output:
YES 2 5 7 9 10 12 13 14 15 16 19 20 23 24 27 29 31 32 35 36 37 39 41 43 45 47 50 52 55 56 57 59 61 62 65 67 71 75 76 78 79 80 82 87 89 91 92 102 105 109 114 117 120 124 126 128 130 132 134 135 140 145 147 152 155 157 158 160 161 165 166 168 171 177 180 182 187 188 190 192 196 199 200 203 207 208 209...
result:
ok good solution
Test #24:
score: 0
Accepted
time: 95ms
memory: 517408kb
input:
BBAAAABAABABBABBBBBABBAAAABBAAAAAABBAAAAAABBAAAAABABBBBAAAAAAAABBABBABABBAABAAABBBAABBABABABBBBABAABBBBBBABBBAABAABBBBBBAAAAABBABAAAABBAABABABBBAABAAABAABAAAAABAAABABABBBBAABAABBBBABAAABBBBBBBAAABBBABBBABABABABBABABABBBAAABBBAAABBABBBBBBBBABABAABABBBBBBAABABAAABBAABABAABAAAABBBBABABBAAAABAAABAABBBAA...
output:
YES 2 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 24 25 26 27 28 30 31 32 33 34 36 39 40 41 42 44 45 46 47 48 49 50 51 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 79 82 83 84 85 86 87 88 89 90 91 93 94 95 96 97 99 100 101 102 103 104 105 106 109 111 112 113 114 117 118 1...
result:
ok good solution
Test #25:
score: 0
Accepted
time: 55ms
memory: 366376kb
input:
AAAABAAAABABABABBBABABABABBABABBBBAAABBBABBBBBABBABAABAABBBAAABBBABBABABABABBBBAAABBBBABBBABABBBBBBBABBBAAABBBBAAAABABBAABAAABAABAAABABBBBAAABABBBBABAAABABBBBAABABABAABABAABABBBBAABABABBABAABABBAAABAAABAAABBBBAABAABABBAABBBBBBBAAABBAABBAAAAAAAABAAABABAAABBBBBBAABAABBBAAABABAAAAAABBAAABBBBABBBABBABAA...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 36 37 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 1...
result:
ok good solution
Test #26:
score: 0
Accepted
time: 235ms
memory: 1019764kb
input:
BAABBBABBBBBABAAAAABBBBBBBBBAAAAAABAAABABABBBBBBBABBAABABBBAABAAAABAAAABABBBAABAAAABAABBAAABBAAAAAAABABBBBAAAABAAAABABABBAAABABABAAABBBBBBBABBBBBBABABAAAAAAAAAABABBBAAAABABAAABABBABBABBBBABBBBBAABAAAABBAAAAABABABABAABAABBAAAAABABBABBBBBBABABABBBAAAABAAAABBABAAAABBBABAAAAAABABABAAAAABABABBBAABBBBAAAB...
output:
YES 1 3 4 5 6 7 9 10 11 12 13 14 16 17 18 19 23 24 25 26 27 28 30 31 32 33 34 35 37 38 40 41 42 46 47 48 49 51 52 54 56 59 61 62 64 65 66 67 68 69 70 71 72 73 76 79 83 84 86 88 89 90 91 93 95 96 97 98 99 100 102 103 104 105 106 109 110 112 113 114 115 117 118 119 121 122 123 124 125 126 127 128 129 ...
result:
ok good solution
Test #27:
score: 0
Accepted
time: 139ms
memory: 652336kb
input:
BAAAABBBBBBBBAAAABAAABAABABBBBBBABABAAAABBABABABABBBBBBBBBAAAABABAAABBBAABAAABABAABAABABBABABBAAAABAABBBBABAAABAAAAABBABBBAABABBBABABABAAABBAABBABABBABABBBABBBBBABBBABBAABAAABAABBABBBABBAAABAABBBBABABBBABAABABBABABBBBBBAAAABAAABBBAAABBBBAABAAABBBAAABABBBBAAABABABAAAABAAABBABBABABABBABBBAABAABABAAAAA...
output:
NO
result:
ok no solution
Test #28:
score: 0
Accepted
time: 95ms
memory: 407124kb
input:
ABABAABAAAABAAAABAAAAAABAABAABABBABBABAAABABBBABBAAABAAABAABBAABABABAABAABBBABBAAABBAABBBBBBAABBABAABBAABBAAABBAABBBBABAABABABABABBBBAAABBABAABBBBAAABBBBAABBBABAABBABAABBABBABBBABABBABBBBBABABBABABBABBBBBBAAAAAABAABABAABABBABABAABAAABBBAAABBBBBBAAABBBABBAABBAABABABBBAAABBBBBBBBAAAAAABBBBBBBAABAABABB...
output:
YES 1 2 4 6 7 8 9 10 11 12 15 16 17 19 20 21 22 23 24 25 26 27 28 29 30 31 33 35 36 37 38 39 40 41 42 43 46 48 49 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 100 102 104 105 106 109 110 111 112 113 114 115 116 117 118 ...
result:
ok good solution
Test #29:
score: 0
Accepted
time: 102ms
memory: 479212kb
input:
BBAABAABBBBAAAAAAAAABABABBAAAABAAAAAAAAABBABABBBBBABBAAABBABBAABBBBBBBBAABBBBABBBABBBBABAABABAABAABABAABBABABAABAAAABAABBABAABBAABAAABABBBBBBBAABAABBABABBAABABAABABBBBAABABABABAAAABAAAABABBAABBBBAABAABABBABBAAABAABBABABBBBABAAABAABAABBBAAAABAAAAAAAAAAAAABBAABABBBBABBABBAABBABBAABBAABBBABABBBABBAAAAA...
output:
NO
result:
ok no solution
Test #30:
score: 0
Accepted
time: 127ms
memory: 711672kb
input:
AABAABBAAABBAABBAAABABBBAABAABAAAABBBAAABABABBBBAAABBBBBBBABBABAABBAAABBBAABABABABABABABAAAAABBABABBBABAAABBAABBBBABBABABBBBBBABBABAABBABBABBBABBBBABABAABBAAABAABBBABBABBAAAAAAABBBAAABBBABBAABBBAABAABBABAABBAAAAABAABBBBABAABABBBAAABBBABBABAAABABAABABABAAAABAAAAAAABABBBAAABAABBBBAAABBAAABAAABBAAABAAB...
output:
NO
result:
ok no solution
Test #31:
score: 0
Accepted
time: 48ms
memory: 228116kb
input:
BBABBBBAAABAAAAABABAABAABABBAAABBBBBBBABABBBABAABBAABAABAAAAABAAAAAAABABABAAABBABBBBBBBABABAAAAAAABAAAABBBAAAAABABAABABBBABAABBBAABAABAABBAABAABAABBBBAABABBBABBABABBAAAAAAABBBBABABBABABAABBABAABABBBAABBAABBBABBBBAABBBABABBABAABAABBBBABBBABBABBBBBABBABBABABAABABBABBBAAABBBAAABBAABABBBBBABBBBABBBAAAAA...
output:
YES 1 2 4 5 6 7 9 10 11 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 31 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 91 94 95 96 97 98 99 100 101 102 103 105 106 108 109 110 111...
result:
ok good solution
Test #32:
score: 0
Accepted
time: 15ms
memory: 66816kb
input:
ABBABABBBBBABAAAABAAABABBABAAABABAABBBBABABABBBBAABAAABABBAABAAAABABAAABBABAAAABABBBBAAAABAABABABAABABBAABABBBAAABBAAABABABAABBABAABAAABAABBABBBABBBBBBABABABBBBBBAAAABBBAAAABABBBAAAAABABBBABBAAABAABAAAAAAABABABBBBABBAAAAABAAABBABAABAAABAABBAABABAAABBABBBBAAAAABBBBBBABAABABAAAABBBBBABBABAAAAABABABAAB...
output:
NO
result:
ok no solution
Test #33:
score: 0
Accepted
time: 55ms
memory: 307528kb
input:
BAAABABABAABBABAABABABBAABAAABABBABABBBBBAAAABAABAABBAAABBAABABBBABABBBBBBBBBBABABABABAABABBBAABAABBBAAABAAAAAAAABBAAAABBAABBBBABBABAAAAABAABBBAAABBBAABBABBABBBAAAAAABBABBBAAAABAAAABBAAABABAABBAABABBBBBAAABBAAABBAAAAABBAAABABBBABAABAAABBBABBAABBAAAABABAAAAABABAAAABAAABBBBBBAABABABBABBABBBBBBAABABBAB...
output:
YES 2 4 6 8 9 11 13 15 17 18 19 20 21 23 25 26 29 31 33 35 36 37 38 39 40 41 43 44 45 46 49 50 51 54 55 56 58 59 60 62 64 65 66 68 73 74 75 76 77 78 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 97 98 100 101 103 104 105 107 108 109 110 111 112 113 114 115 118 119 120 121 122 123 127 128 129 130 1...
result:
ok good solution
Test #34:
score: 0
Accepted
time: 151ms
memory: 774140kb
input:
AABAAABBBBAAAABAAABAAABABAAAABAABBBAABBBABAAABAAAAABBABBAABBBBBBBBBABBBAAABBABBAAAABBBBABBABBABBAABAABBBABABABAABAAAABAAAAAABBAAABAABBBBAABBABAAABAABBABBBAAAAAAAABABBAAAAAABBBBBBBABABAABAABAABBABBAABAABABBAAAAABAABABAABBBBBBBAABABAAABABAAABBAAAAAABBBBAAABAABABBBAABABAABBABAAABABAABAABABBBABBAAABAABA...
output:
YES 1 2 3 4 5 6 9 10 15 16 17 18 19 20 21 22 23 24 25 27 28 29 31 32 34 35 37 39 40 41 42 44 45 46 48 49 50 51 53 54 56 57 58 62 63 64 65 66 67 68 70 71 74 75 76 78 79 81 82 83 86 87 89 90 92 93 94 95 96 99 101 103 104 106 107 108 110 111 112 113 115 116 117 118 120 121 122 123 124 126 128 129 131 1...
result:
ok good solution
Test #35:
score: 0
Accepted
time: 28ms
memory: 171708kb
input:
ABAABAABABABBABAAABBBBABBAAABBBBBAAABAABBABAAABABABBABAABBBAAABABAAAABBAABABAAABBAAAAAAAAAAAABBAAABAAABAAAAAAABABBABABBABABAABABAABBABBAAAAABAABBABBABAABBBBAABAAABABBABBBAAAAABABABABAAABBBAAABAABAAABBBBBAAABBBBBAAABBAABAAAAABBBABAABAABAAABBBBAABBABAABAABABBBAABBABBBBBABBAAAAAABAAABABBBAABBAAAABBABAA...
output:
YES 1 2 3 4 6 7 8 9 10 11 13 14 16 17 18 19 20 21 22 23 24 25 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 47 48 50 51 52 53 54 55 56 58 59 60 61 62 64 65 68 69 70 71 73 74 75 76 77 78 79 80 81 84 85 86 87 88 89 90 91 92 93 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 ...
result:
ok good solution
Test #36:
score: 0
Accepted
time: 131ms
memory: 645772kb
input:
ABABBBBBBABAAABBBAAABAABAAAAAABAABAAABABABAAAABAAAAABAABBBBBBBAABAAABAABBABBBBBBBABAAAAAAAAABABBABABBAABBAABBAABBABABBBBBAABABABAABAAAAAABABBAAAABBBABBAAAABBAABAAAAABBAABBBBAABAAAAABABAAAAABABABABBBAABABABBBBBABAAAABBBAAAAABABAABABAABBABBBBAAAAABAABBBBBBAABBBBBABBBBAABABBBBBBBBBBAABBABBBABAAAABABBBA...
output:
YES 2 3 5 6 7 8 9 10 11 12 13 14 17 19 20 21 22 23 24 28 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 76 77 78 79 80 81 82 83 86 87 88 89 90 91 92 93 95 96 97 99 100 101 103 104 105 106 107 108 109 110 111 113 114 115 116 ...
result:
ok good solution
Test #37:
score: 0
Accepted
time: 11ms
memory: 100312kb
input:
AAAABABBBBBAAAAAAABABBABBABBABBBAABBAABABBBABAABABABABBBAAAAAABAABABBABBAAAABAAAABABBBBABAABABBBBBABBBABAABBBAABAAAABABAAABBBBBABBABABBAABBAAAAAAABBBBBABBBBAAAABABABAABBABBBBBAAABABBABAAABBABAABBABBAABBBBBBAABBAAAABABABBABAAABBBBABABBABABAAABABAAAAABBBBBBABAABAAABBAABABAABBBAAAAAABABBAAABAABBABAAAAB...
output:
YES 2 3 4 6 9 10 11 16 17 18 19 20 22 23 26 29 31 32 34 37 38 40 42 43 45 46 47 49 51 52 53 55 56 58 59 60 61 62 63 65 66 68 69 70 71 72 75 76 77 80 81 83 85 86 87 88 89 91 93 98 99 100 101 102 104 107 108 109 110 111 112 113 114 115 116 117 119 121 122 126 127 128 130 132 133 134 135 138 139 142 14...
result:
ok good solution
Test #38:
score: 0
Accepted
time: 171ms
memory: 816388kb
input:
AABBBBBAABABAABBBBBBAABBABABBABBBABBBAAAAABABBBBBBBAAABBBBBBABABABBBBBABABABABBABABBBAABABBBAABABBABBBBBABABBBAABBBBBAAAABABBBBBABBABBBBAABABBBBABABABAAAAAABBBBAABABABBABAAAAABAABBBABBAABBBAAABBAAAABABBBABAABABAABABABBAAAAAABBBAABBABBAABABAAABABABABBABBABAABBBBBABBABAABAAABAABAAABABBBBAAAABABBBAAABA...
output:
NO
result:
ok no solution
Test #39:
score: 0
Accepted
time: 128ms
memory: 599468kb
input:
BABBABAABBABBABAAABBABAABBBBBBABBBABBBAAABBAABBBABAAABBAABABABAABBAABABABAAAABBAABBBBABABBBBAAABAABAAABABAABABABABABABBBBBBBBABBBABAABAAABBBAABAAABABBBAABBBBBAABAAAAABAAABABABBBAAABAABAAABBBABBAABABABAAAAAAABBAAABAAAABBBBBABAAAABBBAAAABAAABABBABABBAABABBAABABBBABAAABBBAABBBAAABBAAABAAAABBAAAABBBABBA...
output:
YES 1 3 5 6 8 9 10 11 13 14 15 18 20 22 23 24 26 27 28 29 30 31 33 34 35 38 39 40 41 42 43 44 45 47 48 49 50 52 53 55 57 58 60 61 62 64 65 66 67 68 70 71 73 75 76 77 79 81 83 84 85 86 87 88 89 90 91 92 95 97 98 99 103 104 106 107 108 109 110 111 113 114 115 116 117 118 119 120 121 122 123 124 125 12...
result:
ok good solution
Test #40:
score: 0
Accepted
time: 43ms
memory: 222716kb
input:
ABABABABBBAABBABBBAABBBBBBBAABBABABBBABABBBABABAAABABBABAABBBBAABBABABABABBABBBABBBBBABBBAABBBAABBBBAAAABBBAAABABBABABAABBAAABBBABBAABABAABABAABABAAABBBBBABBABBBABABAABBBBBABAAAAAAAABAABBBBABBBABBBAAABBBAAAABBBBAABAABBBBBAAAAABBABABBABAABABBBBBAABAAAABBBAAAAABAAAAAAAAAAAABBBAABAAABABAABAABABBBBABBBB...
output:
YES 2 4 6 7 11 12 14 15 18 21 28 30 32 33 35 38 40 43 45 47 50 52 55 57 59 62 64 66 68 70 71 72 74 76 79 81 85 87 89 91 94 97 100 105 108 110 111 112 114 116 117 119 121 122 125 129 130 131 133 134 135 136 138 139 141 144 146 149 155 156 157 159 160 161 163 165 167 172 173 174 183 185 190 194 195 19...
result:
ok good solution
Test #41:
score: 0
Accepted
time: 153ms
memory: 734052kb
input:
AAAAAAABAABAAABBBABABBAABBBBBBABBAABABABABABBBABABBBBAAABABBBBAAAAAAAAAABBABAAABABBABBABAAABBBBBAABAABABBAABBBAABBBABBABBABABBABBAAAABBAAAABABBBBAAABBBBABABAABABBBBABABBABAABAABAAAABBABAAABABAAABABABABBBABABBAABAAABBBBBABABBBBBBBAABABABBABBBAABBBBBBAAABABBBABBAAABABABBABAAAAABAAABBAAABBBABAABBBBAAAA...
output:
YES 7 9 10 12 14 17 19 21 23 24 30 31 33 36 38 40 41 42 43 47 48 50 53 57 59 62 72 74 76 80 81 84 87 88 92 97 98 100 101 103 105 108 110 113 116 118 119 121 123 124 127 129 134 136 140 141 145 149 153 155 156 158 159 161 164 165 166 168 170 171 173 174 177 182 184 186 188 189 190 191 194 195 196 198...
result:
ok good solution
Test #42:
score: 0
Accepted
time: 84ms
memory: 677080kb
input:
AABAAAAAAABAABBBAAAAABAABBAABBBAAABBBBBAABABAAAAAAABAABBAABAAABBBABBBBBAAABABAABBABBAAABBABABBBBBABAAAABAABBAAABABBBAABBABAABABABABABABBAAABBBAAABBABAABAABABBAABABBABABAAABBBABBBBBAAABBAABBAAAAAABAAAAAAABBBABBBAABAABABBBABBABAAABAAAABABBBBABAABABBBBBBAAABABABABBBAABAABABAABABAABBAABBAABBAABBBAABABBA...
output:
NO
result:
ok no solution
Test #43:
score: 0
Accepted
time: 108ms
memory: 601108kb
input:
BABBBBBBABBAABABBAAAABBBBBBBBBBBBABBBAABBABBBABAAABAAABAAABAABABAABBBAABBBBBAAAAAAABBABBAAABBBBBBABAAAAAAABAABBAABABABAAABAABAABAABBABAAABBBABABAAABBBBBBBBBBAABABBBAABBAAAABAAAABBBBBBAAABBBABAAABBBBABBAABAABABBABBBAAAAABAAABAABBABBBBAAAABAAABABBABBBBABBBBBABBAAAAABBBBAAABAAAAABABAAAABBBBBBBAAABBBAAA...
output:
YES 1 3 8 9 11 13 15 17 21 32 33 35 36 37 40 41 42 44 45 47 50 51 53 54 55 57 58 59 61 62 64 66 69 71 73 74 75 76 81 82 83 86 87 88 90 91 96 97 99 106 108 109 112 113 115 116 117 118 121 122 123 124 125 126 127 128 130 132 134 136 137 139 140 141 142 144 147 154 155 156 157 159 160 161 164 166 167 1...
result:
ok good solution
Test #44:
score: 0
Accepted
time: 147ms
memory: 692884kb
input:
ABAAAAABBAABBAAAABBBAAAAABABABBAABBBBBABBBABBBAABBAABBABBAAAABBAABBAABBBABABABAAAAAAAABBAAABAAAABBABBBBABBBAABAAAAAABBBBAAABABABABAAABABBBBBBBBABBAABBAAAABBBBAAAAAAABBAAABAAAAAAABAAABBBABABABBAAABABABAAAAABBAABABABBBBAABBABBABAAABBABAAABAABBABABAAABAABBBAAAABBABAAABAABBBBABBAABBBBABBAABBABAAABABBBAB...
output:
NO
result:
ok no solution
Test #45:
score: 0
Accepted
time: 111ms
memory: 672892kb
input:
BBABBBAABBBAABBBBBABBAAABBABABABAABBBBAAABBBBAAAAABABAAAABAAAAAABBBABBBBABAABBABABBAAABABABAAABAAAAAABBBABABBBABABBBABBABAAABBBBABABBBAAAABAAABBBABAABBAAAAAABBBBABAABBBBBBBBAAAAABBAAABBBBBABAAABBAAAAAABBABBBBBBAAABBABABBBBBBBABAABBABABBABABABABABBBBABAAAABBBBBAAABBBBAAAAABBABBBAAAABAABBAABBABAABABAA...
output:
YES 2 4 7 9 12 14 19 21 24 27 28 29 31 33 34 38 41 46 51 53 57 59 65 68 73 75 77 79 81 83 87 89 90 91 94 95 102 104 106 107 111 112 114 117 119 120 122 124 128 130 132 134 139 143 145 147 150 152 158 162 163 165 174 179 180 184 189 190 193 195 202 203 205 210 214 216 218 226 228 230 231 232 234 236 ...
result:
ok good solution
Test #46:
score: 0
Accepted
time: 160ms
memory: 697388kb
input:
ABBABBBAABABBBAABBBABBAABBAAAAAAABBBBABABAAAABABBBBAABBABBAABABABABBBAAAABAABABAABABAABABABAAABBAABABBBBBBBBBBBABABABBABABAAAAAABAABBAABAABBABBAABABBBAABAABAAAAABBAABAABBBBAAAABBABABABABBABBBBABABABABBBBABAAAABABBAABAABBABBABABBAAABBAABABAABABABBABBAABABABAAABBBABBABBABBAAABAABABABABABBABABABAABBAAB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 1...
result:
ok good solution
Test #47:
score: 0
Accepted
time: 148ms
memory: 874860kb
input:
ABAAAAABBBBBABBBBAABBAABBAAABBBBABABABABABAABABBABBBBBABBAABBAABBAAAAAAAABBABAAABBAAAABABBBBAAAAAABAAAABBBABAABABAAAABAABAAAABABAABAABBABBBAAAABABABBAABBABBAAABABBAAABBBBBAABBBABABBBBAAAAABBAAAAAABBABABAAAABBBBAABBBBAABABABAABBBABBBAAAAABBBBBAABBABBABAAABBABABAABABBABBBBBABBAAAAAABBBBAAAAAAAAABAABAB...
output:
NO
result:
ok no solution
Test #48:
score: 0
Accepted
time: 35ms
memory: 203584kb
input:
BBBAABABBABBABABBBAAAABAAAABABBBBBBBBABAABBAAAAAABBBAABABAABBBABABAABBBAABBBBABABBBABBBAABBBBBABBABBBABAABBABBAABBBABBABBBABBBBAABBBABAABBABABBBBAAABABBAAAAAAAABABAAABBAAAABAAAABAABAABBABABBBBAAABAABAAAAAABABABAAABAAAAABBBBBAABBBBBBBABAABBABABBBBBBAAAAAABBAABAAAABBBAAAAAABABAAABBBAABABBABABAABBBABBA...
output:
NO
result:
ok no solution
Test #49:
score: 0
Accepted
time: 195ms
memory: 858720kb
input:
AABAABABBABABBAAAABAABBBABBABBABAABAABBBBABBBAAAAABBBAAAABBAAAABBABBAAAAABAAAAAABBBBAAAABABAABBABABBBBBBBABAAAABBBAABABBAAABBAAABABABABABABABAAABBABABBAABBAAABAABABABBBBBBBBAABAABBAAABBBBBAAABBBAABAABABBBBBAABBAAABBBABAABBBBABAABABBAAAABABBABBBBAABBBAABBBBABBBBBBBABBABBBABBAABAABABABBBBABBBABBBAAAAA...
output:
YES 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 47 48 49 50 52 53 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 77 78 79 80 83 84 86 87 88 89 90 91 93 94 95 96 98 100 101 102 103 104 105 107 108 109 110 111 113 1...
result:
ok good solution
Test #50:
score: 0
Accepted
time: 0ms
memory: 50780kb
input:
ABABAABAABAABBABBBBBBBBBBAABBBAAABBAABBABBBBBBBABBABABAABAAAABBBBBBBBAABBAAAABAABABABABAABAAAAABAABAAABBBBAABBABBAAAABAAABAABBAAABABAABBBBABAAAABBAABABABABAAAABAAABAAABAAABBBBBAABBBABBBBAAAABABABABBBBAAABBBABBBBAABBBABAAAABBBBBAAAABABAAABABAAABAABBBBBABABBBBABBABBBABBABBBAAAABAAABAABBBBAABABABAABABA...
output:
NO
result:
ok no solution
Test #51:
score: 0
Accepted
time: 27ms
memory: 188140kb
input:
ABAABBBBABABBAABAAAABAABAABAAAAAABBBAAABBBBABAABBAAABBBABBABBBBBABABBBBBBAAAABABAAABABAAABAAABBAAAAABABAABBAABBAAABBBABABBBABAAAAAABAABBABBBABAABAABABBABAAAAABBBAAAABBAAAABABAABAABBAABBBAABBAAABAAAAAABBAAABBBBBABBABAAABABABBBBAAAABBBABBBBBBABABBBAABABAAAABABBABABBBBABAABBBBAAAAAAABBBAAABBAABAAAAAAAA...
output:
NO
result:
ok no solution
Test #52:
score: 0
Accepted
time: 92ms
memory: 523532kb
input:
ABBABABABBABABBABBABBBAAAABAAAAABAABBAABABBBBBAABBBAABAAABBAAABABBBAAABBBAABBBBBBBBAAABBBBBABABBBABBABBBBAAAABBABABAABBAAAABBABBABBAAABBBBBBBBABBBBABABABAAAAABABBBABAABBABABABBBBAABBAAAABABBAABAABBBBBAAAAABABAAAAABBABBAABABABAABBBBAAAAABBABBABAABABBAABABBABAAABBBABAABAAABABABAABABBBBAABBBABAABABABBB...
output:
NO
result:
ok no solution
Test #53:
score: 0
Accepted
time: 82ms
memory: 381596kb
input:
BABAABABABBABAAAAABAAABBBBABAAABBABAABABBBAAAAAABABBBAAABAABAABBAABBABAABBAABBBABAABBAABBBABAAAAABBBABAAAABBABBABBBABBABABBBAAABBABAABBABABABBBBAABBBAABBBBBABABBAAAAABAABBBABAAAAAABABBBBBBABBBABABBBBBABABBBBBBAAABBBBABAABBBABBAAAAABBABBBBBABBAAABBAABBBAAABBBAABBAABAABABABBBAAABBBAABBBABBBBAABABAABAA...
output:
YES 1 2 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 56 58 59 60 61 62 63 64 65 66 67 68 70 72 73 74 75 76 77 78 79 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103 104 105 106 107 ...
result:
ok good solution
Test #54:
score: 0
Accepted
time: 119ms
memory: 598224kb
input:
ABBBABABABABABBBBBBBABBBBAABBBABBABAAABABBBABAAAABAABBABBABBABBBBBBBAAAAABBBAAAABBABBBAABBBABBAABAABBAAAABABAABBAABABAABBAAAABAAABAAAAAAAAABBAABBBBBBAABBBAAABABBAAAAABAABBBBBBABBAAABAABABAABAAABAAABBBBAAABBAAAABBAAAABAABABAAAABABBBABBBAAABABAABBABBAABBBABBAABABBAAABBABBBABAAABAAAAABBBAABAABBBAAABBAB...
output:
NO
result:
ok no solution
Test #55:
score: 0
Accepted
time: 41ms
memory: 163688kb
input:
BBAAABABAAAABBBABBBABBAAAABBABBBBABAABBABBBABABBBAAABBBAABBABABBABBAAABBBABAABABBBBBBBAABBABBBBBBBBBABBBABBBAABABABBBAAAABABABAAAABABABBBABAABABBAAAAAABAAABBAAAAAAABAABBAAABBBABBAAAAAABABAABAABABAAAABBBBABAABABBAABBBABBBAABBAAABAABABAABAABABBBBAAABBBBBAABBAAAABAAAABAAABAAAABBBABBABBABBBBABAABAABBBBA...
output:
YES 3 5 6 8 12 15 17 20 23 27 29 33 35 38 40 43 44 45 46 50 53 55 57 59 60 62 65 68 71 73 74 76 78 80 86 89 90 91 100 102 104 106 108 111 113 114 118 121 122 124 125 127 131 132 133 134 137 139 142 144 146 151 152 156 158 164 166 167 170 172 176 179 184 185 186 187 190 193 194 196 199 203 205 207 20...
result:
ok good solution
Test #56:
score: 0
Accepted
time: 48ms
memory: 311556kb
input:
BBBAABBBAABBBBBAAABBABBAABBBAAABBBABBABABABABABBBAABABBABBBBAAABBAABBBAAABAABBAABABAABBBBBAABBAABAAABBAAAABAAABAAAAAAAABBABAAABAABBAABABABABAABBABAABABABABBBBAAABABABBBBAABBBBAAAAABBBBBABAABAABBABAABBABBBAAAAABBBBBBBAABBAABBAAAAAAAABAABABABBAABBBBABBABABBBABBABBBABBBBBAAABBBAABBBABAAAABABBBBAAAAABAB...
output:
NO
result:
ok no solution
Test #57:
score: 0
Accepted
time: 84ms
memory: 543768kb
input:
BABBBAAABBBBABABBABBBAABABAABBABBBBBAAAAAABAAABAABAAABBBBAABBBAABBBABAAAABBBABBBBAABABAABAABAAAABBAAABAAABABBABBAAABBBABBBAAABBBBABAAAAABABABBABBABAABBBBABAAAAAABBBBBAAABABBBABBABBAAAABBBABBABAABBABABABABBABAABABAAAAABBAAAAAABAAABAABABBBBABBAAAAABABBAAABBABBBBAABBABBABABABABBBAAAAABABBABABBBBBABABAA...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 34 35 36 37 38 39 40 41 42 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105...
result:
ok good solution
Test #58:
score: 0
Accepted
time: 92ms
memory: 502480kb
input:
ABAAAABBBBAAAAABABABBABBABBABBAAAAAAAABAABBBABAABBAABABBBAABAABBABAABBABBAABABABBBABABBBAABAABBABAABAABABBABAAAAAAABABBABABBABAAAABABBAAABABBABABAAAAAABBABAAAABBAABBABAABBBBAAABBBABBBBABBBBBABAAABBBAABABAABBAABBBBAAABABABBAABABABABBAABBBBBAABAABAABAAABAABABBBBAABAABBBAABAABBBBABBBBBAAABABABAABBABABB...
output:
YES 1 3 7 11 15 17 19 21 22 24 26 28 30 38 40 41 45 47 49 50 53 54 57 59 60 63 65 67 69 71 73 75 76 77 78 79 83 84 85 89 91 94 96 98 100 103 104 106 108 116 117 120 122 125 127 131 132 134 137 139 142 143 145 152 154 155 160 162 164 166 168 169 174 177 180 185 190 191 192 195 198 200 201 202 203 206...
result:
ok good solution
Test #59:
score: 0
Accepted
time: 219ms
memory: 1018924kb
input:
BBABBAAABBAAAAABBABBBABABBBBBAAAAAAABBBAAABBAAAABBABAABBABAABBABAABBABABBBBAABABBABBAAAAABAAABBAABBBABABABABAABBBABABBBAAABBBABABBBAABBBBABBBABABBBABBBBBBAAABAABAAABBBABBABABABAAABABAABAABAAABBBBABAAAAAAAAABABABBAAAAAABBABABBBBAABBABBBABABBBAABABAAABBABBBAABAAAAABBBBABAABBBBAAAABABBABBBABABAAAABBABB...
output:
YES 2 4 6 7 8 9 10 13 14 15 16 17 19 20 21 23 24 26 27 28 29 31 32 33 34 35 36 37 38 39 41 42 43 44 46 47 48 49 50 51 52 54 56 57 59 60 62 63 64 65 66 69 70 71 73 74 75 76 77 78 79 80 81 82 84 86 87 88 89 90 91 92 93 94 95 97 98 99 100 101 102 103 105 106 108 109 110 112 113 114 115 116 118 119 122 ...
result:
ok good solution
Test #60:
score: 0
Accepted
time: 82ms
memory: 351088kb
input:
BBBABBAAABABAABAABABBBBABBAAAAABBBBBAABBBABAAAABAAABBAABAABAAABABBBBBAABAABABBBBAAABBBAABBBAAABABBAABABAABBBBABBBABABAAAAABBAABABABBAABBBABBABBABBAAABAAABBAAAABABBBABBABABAAABAABABBAAABAAAAAABAAABBBBABBBBBAABBAAABABAABBAAABBAABABABBABABABBABABABABABBABAABABAAAABABABABABBBABBBABABABBABBBBAAAAAABBAAAA...
output:
YES 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 21 22 23 24 25 26 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 76 78 79 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 105 106 107 1...
result:
ok good solution
Test #61:
score: 0
Accepted
time: 7ms
memory: 83776kb
input:
BAABBAAAAABBAABBBAAAABABBABAABAABBBBABABAAABABBAAAABABBABABABBABBAAAAAABBAABAABBBAABABAAAABBAABBBABAAABABABAAAAAABAAAAABBAABABABBABBAABBAABABBABABBAAAABAAAABAAAABBAAAABBABBABAAAABBBBABBBABAABBABBBBABBBABABBABBBBBBAAAABBBBBABBBABAABAAAABBBBBBAABBABABBBAABAABBBBABAABBBBAAABABABABBAABBABBBBABBBBBBAAABA...
output:
NO
result:
ok no solution
Test #62:
score: 0
Accepted
time: 159ms
memory: 990392kb
input:
BBBAABBABBBAABABBBBBBBBAABBABBABBAAAABBABAABBBBAAABABABABBBAAAAAAAAAAAABBBBBABBAABBBAAABBBABBAABBBAABABAABABBAAAABAAAABAABAAABAABBBBBABBBBAAABBAAABABBBABAABABBBBBAABBBBAABABBAAAAAABABAABABABBBABBABABBAAAAAAAABAAAAABBABBABABABBAAABAABBBABBABAABAABBBABBAABABBABAAAAAAABABAAABBABAAAAAAAAAABBAAAABBBABBAB...
output:
YES 1 2 3 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 86 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107...
result:
ok good solution
Test #63:
score: 0
Accepted
time: 111ms
memory: 551200kb
input:
BAAAAABBABABBBAABBBBBBABABBAAABAABABABBBBAAABBBBABBBBBAAABBBABBABAABABAAAABABBAABBAAABAAABBABBABAAAABBBBBAABAAABABABAAABAABABABBBAABBAABBAABBABABBAAABBBABAABAAABAAAABAAABABAABABAABBBBBBABBBBABBBBBAAABABBBBBBBBBAAABAABBBBBAABBABBBBABBAABBBAABBAABABABAAAABBAAAAAABBBBAABABAABABBBBBAABABAABAABBBABBBBAAA...
output:
NO
result:
ok no solution
Test #64:
score: 0
Accepted
time: 20ms
memory: 73900kb
input:
BABBAABBBAABBAABAAABBBBBBABAABAAABBAAAAABABABBBABAAABBAAAABBABBAAAABBAABABABBABABABBBABBABBBABBABBBABAAABBBBBAABBBBAABBBAABAAABBBBABABABBAABAABBBBBBABAAABBBABBAAABBABAAABAAAABBABAABBAABAAAAAABBABBBAAAAABBBBBAAABABBABAAAAAABAABBAABABBBBBAAAAAAABABAABBBABABBBABBAABBBABBABBBBAAAABABBBBAAAAAAABAABBABAAB...
output:
YES 2 4 6 8 9 10 11 12 13 15 16 18 19 21 22 23 24 25 26 28 29 30 31 32 33 35 36 37 38 39 40 41 42 43 44 46 47 48 49 50 51 52 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 91 92 93 95 96 97 98 99 100 101 102 103 104 106 107 108 109 110 111 114 115 116...
result:
ok good solution
Test #65:
score: 0
Accepted
time: 4ms
memory: 50716kb
input:
BABBBBBBAABBAABABABBBAABBABBABABBABBAAABABBBBAAAAAAAAABABBBBBBBABABABABAAABAAABAAAAAABBAAAABAAABAABABAAAAAAAAAABABABBBAAABABBABBBABBBBABABBAABBBBAAAABAAAAABBAAAABAABBABABBABABABABABBBBBBBBBAABABBBABBABABAABABAABBBAAAAABABABAAABBAABBAAAAAAABBAAAAAABABABBAAAABAABBBBABBBABBABAAABBBABABAABBBBAAABAAAAABB...
output:
YES 1 3 9 11 13 14 15 16 17 19 22 24 26 28 29 31 33 34 37 39 41 45 54 55 57 63 65 67 68 70 72 74 76 78 80 85 88 92 95 97 99 100 102 111 113 115 119 122 124 125 126 130 134 135 136 138 139 142 146 150 155 158 162 164 167 169 171 172 174 176 178 179 180 190 192 193 196 197 199 201 203 206 208 210 213 ...
result:
ok good solution
Test #66:
score: 0
Accepted
time: 183ms
memory: 847292kb
input:
BABBBAAAABBBABBBBBBABABBBBBABBBABAAABAAAABBAABABABABABBBBBAABABBAABABABBBBBBABABABBAABAAABBBABABBBAABBBAAAABBABAABBABAABBABBBABBABAABABBABBBABAAAAABAABAABBBBBABABABBBABBABAAAABBBABAAAABABBBABAAABBABAAAABBBBBBBABABBAAABAABBABBBAAAAAABBAAAABAAABBAABABAAABAABBABABBBAABABABBABBBAABBBBABABBBAAABABABAABBB...
output:
NO
result:
ok no solution
Test #67:
score: 0
Accepted
time: 56ms
memory: 227736kb
input:
ABABABBBBABAABBBAABBABAABBAABBAABAAAABAABABABBBBABAABBBABAABABBABBAABABAAAABABBABBAABBABAABABAAAAAAABBBAAABBBBBBAAABAAABAABAAAABAABAAAAAABABABBBBBBBBABAAABABABAABBAAAAABAABABABAAAABBABABABAAAAABBBBBBBAABBAAAAABBBBBBBABAABABBBABABABAABABABBBABAABBBBBBBBAAABBABBBABABBBAAABBBBBABBAAAAABBBABBAABBBBAAABB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 10...
result:
ok good solution
Test #68:
score: 0
Accepted
time: 99ms
memory: 607864kb
input:
AAABBBAABAAAABABBBAABBAAAABBBAABABBAABAAABAABABAABBBBBBBBAAABBAABBAABAAAABBBBBAABBBBAAABBBBBBAABAABAAAAABBBBABBBAABBABABBABAABBABBBAAAAAABBAAAAAABABBAAAAAABABBABABBBABAABBBBABBBBBAAAAAABBABBABBAAAAAABBBBABAAABAABBABBBABAAAAAAAAAABAABBAAAAABBAABBABBABBAAABBBBBBBBBBAABABBBBBBBAABABAAAABBABBABBBBBBABAB...
output:
NO
result:
ok no solution
Test #69:
score: 0
Accepted
time: 39ms
memory: 207372kb
input:
BBBABBAAAABBBBABBABBBBABBAAABBBAAABABBBABBBBAABABABBABABAABBBBBBBBAABBBAAAAABABBBABBAAAAAABBBABABAABAABABAABAABABAABBAABBBABAAAAABBBBABAABAABBABAABBAABBABBAAABABBBBBABBABAAABABBBBBABAABBABBAAABBBBABBAABAAAAAAABABABABABBBABABBBABABBBABBAABABAABAABBAAABAAABBBBBBBABABAABAAAABABBBBAAABBBBAABABABBABBABAB...
output:
NO
result:
ok no solution
Test #70:
score: 0
Accepted
time: 151ms
memory: 875444kb
input:
AAAABBBBBABBBBBBBBABABAAAAAAABABBAABABBAAAAABABAABABBBABBBBBBAABBAABBBBBABBBBAAABAAAABBBABBBABBAAABBAAABBBBBBBBBBABBBAAAABBABBBBBBAAABBAAAAABBABAAAABABABABABBABBAABBABAAABAAAAABBBBAABBAAAAAAAABBAABBABAABBBAAABABABBBAAAABAABBBABBBAABAABBBABBBBABBABABABBAABABBABAABABABBBBBBABBABBAABBAAAABBBBBABABAABBA...
output:
NO
result:
ok no solution
Test #71:
score: 0
Accepted
time: 152ms
memory: 831108kb
input:
ABBBBBABABAABAAAABABBAABAABABBBBBAABBBBABAAABABAABABABBAAAABABBBBBBAAABBBABABABBBBBABAAABBBAABBBABBBAABABBAABABABABABBAABBBBBBBAAAAAAAAABBBAAABBAABAABAAAAAABBBBBBABBABAABBBBBBAABBABAAAABAABBBBABABBABAABBBABAAAABABBBBBAABABBBBBABBAAABABBBAABBBBBBAAAABBABBBAAABAABBBBBABAAABBBAABBAAABBABABBBABABAAABAAA...
output:
YES 2 4 5 6 8 10 12 13 16 17 19 21 23 25 26 28 30 31 32 33 35 40 41 44 46 48 49 50 51 52 53 55 57 58 59 60 61 67 71 72 73 74 76 77 78 79 80 81 82 83 85 87 88 89 90 91 93 96 97 100 102 103 104 105 106 108 110 112 114 116 118 120 124 125 126 127 130 131 132 133 134 135 136 138 139 141 142 143 144 146 ...
result:
ok good solution
Test #72:
score: 0
Accepted
time: 107ms
memory: 570724kb
input:
BBABBAABBBBAAABABBBBAABAAAABBABABABABBBAAABBBBAAABBBBBABBBBBABBAAAABAAABABAAABBBAABAABAAAAABBBABABBBAABBABAAAABABBAAABBBAABAAABABBABBAABBAAABABABBBABABABABAABAABBABBBBBAAABABAAAAABABABBABABAAABBAAABBBBAAAABBABBBABBBABBAABBBABBBABAABABBAAAAAABBBBAAABAAABAABABBABAAABBBABBAAAABAAABABBAAABBABBBAABABBAAB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 26 27 28 29 30 31 32 33 34 35 36 38 39 41 42 45 46 48 49 50 51 52 53 54 55 58 59 60 61 62 63 66 67 69 70 71 73 74 76 77 78 79 80 81 82 83 84 85 86 89 90 91 93 94 95 96 97 99 100 102 103 104 105 106 109 110 112 114 115 116 117 118 119 12...
result:
ok good solution
Test #73:
score: 0
Accepted
time: 208ms
memory: 880348kb
input:
ABABBBBBBAAAAAABABABABAABBBBBBBBABBBBAABBBAABBBABBBABAAAABAAABBABBBBBABABAAAABBBBAABABABBBBBAAABAAAABBBABBABAABABAAAAABAAABBABBBABBAABAAAAABBBBBBBBBBABAABBAAABABAAAABABAABABABBAAABBBBABABAABABABBBBBBAABBABAAABABABABBABAAAABBABBABBBAABBABBABBAABAAAABBBBAABABBABABBAAABAAABBAAAAABBBABABABAAABBABAABABBB...
output:
YES 1 2 4 7 8 9 13 14 15 16 17 18 19 20 22 23 24 27 28 29 30 31 32 33 37 38 39 40 41 42 44 48 49 50 51 52 53 56 57 58 61 64 66 67 68 69 71 73 75 76 77 81 84 85 86 87 88 89 90 91 92 96 97 98 99 100 102 103 104 105 106 108 110 111 113 115 116 117 118 119 121 122 124 125 127 128 129 131 133 134 137 138...
result:
ok good solution
Test #74:
score: 0
Accepted
time: 15ms
memory: 83616kb
input:
ABBAAAAAABBABABBABBBABBAABABAAAABBBABBAAAAABABAABAAAAAAABAAABBBABBBABBAAABAABBAAAABBAAABABBABBBAABABBBBAAABAABBABBBAABBBABABBBAABBAABBABBBBAABAABABABAAABAAAABABBAABABABAAABBABAABBABBABAAAABBAAAAABBBBABABABBAAAAABAAAAAAAAABABAAAABBABBBABBABBABBABABABBAABBBABAABBAABBBBAABABBABAAABAABBBABBBABAAABABBBBB...
output:
YES 2 3 5 6 7 8 9 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 40 41 42 43 45 47 48 49 51 52 53 54 55 56 57 58 59 60 63 64 65 66 67 68 69 70 72 73 75 76 77 78 80 81 82 83 84 85 86 87 89 90 91 92 93 94 95 96 97 98 99 101 102 103 105 106 107 109 110 111 113 114 115 116...
result:
ok good solution
Test #75:
score: 0
Accepted
time: 76ms
memory: 429120kb
input:
ABBBBBBBBBABBBBBABBABBABBABAABABAAABBBABBBABAAAAAAABBBAABAABBABAAABBBABABBBBBBABBABBBAABABBBAABAABABABBABBAAAAAAAAABBABAAABBABBBBABABBABBABAAABBABAABBBAABBBBABBABAAAABAAABAABBBBAAAAAABAABABBBBAAABBBAAAABAAAAABABABBABBAAAABABAABBBBABBBAAAABBAAAAAABBABBBBBAABBBAAABBAABABBBAAABBAAABBBBABBBBABABBAABBAAB...
output:
YES 2 8 9 10 12 13 14 15 16 18 19 20 23 24 25 26 27 28 29 30 32 34 35 38 39 42 44 48 49 50 51 53 54 57 58 59 61 63 66 68 69 71 72 76 77 78 80 81 82 85 87 88 89 92 95 98 99 100 101 102 103 104 105 106 110 111 112 113 114 115 117 118 119 122 123 124 125 128 129 131 133 134 135 137 139 141 142 144 146 ...
result:
ok good solution
Test #76:
score: 0
Accepted
time: 108ms
memory: 681032kb
input:
BAABBBBAABAABBBBABBABAAAAABAABABBBABBABBBBBABABABAAAABAAABAABAAABBABBABABABAAABBBAAABAAABBABAABBABBAAAABAAABBBBBBBAAAAABBAABAABBABBABABBAABAABAABBABBAAABAABBAAAAAAAABBABBBAAAAABBBAABAABBABABBAAABABBBBBBBAAABAAABBABBBBBABAAABBABABAABAAAABBBAAABBBAABBBBBABBBBBBAAAABBBAABBAAABABBBAAABAAABBBBBBAAAAABBAB...
output:
NO
result:
ok no solution
Test #77:
score: 0
Accepted
time: 171ms
memory: 908064kb
input:
BBBABBBAAABAAAABABAABABABBBBBBABAAABABBABBBBBAAAAABAAABBBBBBBBBAAABBBABBABBABABABAAAABAAABABBABBABABBABBBABAABBABBBBBBBBBABAAAAAAAABBBABBBAABBABBAABBBAAABBABAAAABAAABBBABBBAAABBBBAABBAAAABAABBABBBAABBAAABAABABBABAABABBBBBBABBBAAAABAABAAABABABBAAAAABBABBABBBABAAABAAABAABBBABAAAAABBABBABABABABBABBBABB...
output:
YES 3 4 7 11 14 15 16 17 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 45 51 52 53 54 58 59 60 61 62 63 64 65 66 69 71 72 73 75 77 79 81 85 86 88 89 91 93 94 96 97 98 100 101 102 104 105 107 109 112 116 117 118 119 120 121 122 123 129 130 131 135 136 137 138 139 140 142 143 145 147 ...
result:
ok good solution
Test #78:
score: 0
Accepted
time: 152ms
memory: 828704kb
input:
ABBABABBAAABABBBABAABABBABBBABABAABABBBABAAABBAABBAAAABBBBAABBABABAABAABAAABBBAABBBBBBAAABBBABBBBAABBBBABBAABABBBBBAABBAABBAABABBBBBBAABBAABAABBBABBBBBABABBBAABAAABAAAAABBBBAABAAABAAAABBABBBBABAABBBBBBABABBABBBAABBBAAAABBAAAABBBBBBBAAABABBBBBABBBAAABABBBBBBBAAAAAAAABBBBBAABBABAABAAAABBABBAABBAAABAAB...
output:
YES 1 3 4 5 7 9 11 12 13 16 18 20 21 22 25 26 27 28 29 30 31 33 34 35 36 39 41 42 43 44 46 48 49 50 52 53 54 56 57 58 60 63 64 65 66 68 69 70 71 72 74 75 78 79 80 84 85 86 88 89 91 92 93 97 100 101 102 103 105 106 109 110 112 113 114 115 117 118 119 120 121 123 124 125 126 127 128 129 130 131 132 13...
result:
ok good solution
Test #79:
score: 0
Accepted
time: 168ms
memory: 983692kb
input:
BABBAABAABABAAABAABAABAAAABBABABBABABBBAAAAABABABBBBAAABABBBAAAAABBABBABBBBBABBBABAAAAAAAAAABABABBAAABAABBAAAABABBBBBBAABAABAABBAABAABBABBBBBABAABABBAAAABBBBBBAABAABAABBAABBABBBBABBAABBBBABBBAAAAAABABBBAAABBAAABABBABAABAABBABAABBBBABABABAAABBBAAABBBABAAABBABABABABABAAAABBBBABAABABBBAABAAAAAABABBABBA...
output:
NO
result:
ok no solution
Test #80:
score: 0
Accepted
time: 56ms
memory: 283292kb
input:
BABABBBAAAAABBBAABBBABBABABAAAAAAAAABBBBABBABBAABABBABBBBABABAAAAAABBABBBBABABBABBBBBBBAAAABABBABABBBAAABABAABBBBBABBAABBABAAABAAABBABBABBBABABAABAAAAABAABBBABBBBBBAABABBABABABAAABAAAAAAAABBBABAAABBAABABABABBABAAAABAABBBAAAAABABBAAABBAABAAABBBBBABAAAABBBABAAAAAABABABAABBAAABAABABBBABABAABBAABABBABAA...
output:
YES 1 3 5 8 12 16 18 20 21 23 24 25 27 33 34 35 36 41 43 45 46 49 51 52 54 55 56 57 58 60 61 65 66 67 70 75 77 79 81 82 83 84 85 86 87 91 93 94 95 96 97 98 99 100 101 103 104 106 107 108 109 110 111 112 113 114 116 117 119 121 123 126 127 129 130 132 133 134 135 136 139 141 143 145 147 148 149 150 1...
result:
ok good solution
Test #81:
score: 0
Accepted
time: 144ms
memory: 724524kb
input:
ABABABABAABBBAAABBABBAAAAABAABABABBAAAAABABABABBAAABABBAAAABAAABABAABABABBABABBAAAABBBABAABAAABBBBABABBBAABBAABBBBABBBBBBBAAABAABBBAAABBABABBBABABBAAABBBBABBBAABBABBABABBBBBBBABABBABBABBBBABAAAAABBBBBABBAABBBBBBBAAABAAABABAAAABBAABABBABBBAAAABAAAABABBAABBBBABBABAAABBAAAABABBBBBBABABBBABABABBBABAAAAA...
output:
YES 2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 79 83 84 85 86 87 88 89 90 91 93 94 96 97 98 99 101 102 103 104 105 106 107 108 109 110 111 1...
result:
ok good solution
Test #82:
score: 0
Accepted
time: 202ms
memory: 935588kb
input:
ABBBBAABABABAAAAAAABABABBAAABBBABBBABABAABBBAABAAAAABABAABAABABBBABAABAABBBBABBABBBBABAABAAAAAABBAABAABABBBBAABBABAAAAABAAABABAAABBABBAAABBABABAAAAABABAAAAABABBBBAAAABABBBABBBABBBABABABBBBBAABBABAABAAAAABAAAAAABBBABBBABBBABAAABBBBABAAAABBBAABAAABBABBBBABBBAAAABBBBBBBBABABAABAAAABBAAAABAABBBAAABABABB...
output:
YES 1 2 3 4 5 7 8 9 10 11 12 15 16 17 18 19 21 22 23 24 25 26 27 28 30 31 33 34 35 36 37 38 39 40 41 42 43 44 46 47 49 50 51 52 54 55 57 58 61 63 64 65 66 67 68 69 70 71 72 74 75 76 77 79 80 81 82 83 84 86 87 88 89 90 91 92 93 94 95 96 97 100 102 103 104 105 106 107 108 110 113 114 115 116 117 118 1...
result:
ok good solution
Test #83:
score: 0
Accepted
time: 160ms
memory: 762452kb
input:
BAAABAABAABABAAABAABBBBABAABABBBABBABABABABAABBBAABAAABBBABBBBBAAAAAAAAABBAABBABAABAAABAABABAAAAABBBABABAAAAABABABAAAAAAABBAABBAABBBBBAABABBBBBBBABBBABBBAABBABABABBAABBABBABAABABBABAAAAAABBBABABAABBBAAABAABABBBABBBBAABBAABABAABAABBABBABBBAAAAABBBAABBBBBBBABABBAABABBBBBBBABBABAABAABAABABAAABAAABBABBA...
output:
YES 2 4 5 7 9 11 12 14 17 20 23 24 26 27 29 32 33 35 37 39 40 41 42 43 46 48 50 51 55 57 58 64 72 75 76 79 81 82 83 87 90 91 93 98 101 102 104 110 111 113 115 122 123 125 127 129 135 136 137 138 146 149 150 154 156 157 159 161 162 164 167 168 170 172 173 176 178 179 181 187 190 191 193 194 197 200 2...
result:
ok good solution
Test #84:
score: 0
Accepted
time: 139ms
memory: 715132kb
input:
BBBBBABABAABBBABBBABBBAAABBBBAAAAAABABBABAABAABAAAABBBBBABABABBBBBAAAABBBBABABAAABABBABABBABBAAABBBABBBAABABABABABAABBAABBBBABABBAABBABBAAABAABBBBBAAAABABBBAABAAABAAAAAAABBBAAAAABAAABBBAABABBAAABBBBBBBABABBABBABBABBBABAABABBAABABABBABBBABBBBBAAABBBAABBABBAAAAABABABBBAABBBAAAAAAAAAABAABAAABAABABABABA...
output:
YES 5 7 8 10 12 14 16 18 19 23 26 30 35 37 40 42 43 45 46 48 52 57 59 61 66 71 74 75 76 78 81 83 85 86 87 88 91 94 97 99 100 103 105 106 108 109 110 111 112 114 117 119 121 125 126 128 130 131 133 135 137 140 142 147 152 154 157 159 163 170 174 179 183 186 187 189 192 195 202 204 206 208 210 213 217...
result:
ok good solution
Test #85:
score: 0
Accepted
time: 43ms
memory: 295036kb
input:
BABBAAAAABAABBBBAABABAABBBABABBAABABBBBBBBBAAAABAAABBAAAAABAAAABBBBAABBABAABBAAAAAAABBBBAABABABBABAABAAAABAABBBAAABABAABABAAABBAABABAAAAAABBBBBBABBAABABBABBBBABBBBABAAAABBABBABABAAAAAABBBABAAAABBBABBBBABBAAABBBBAABABAABAAAAAABABBBBAAABBBABBBABBBABAAABBBABBAAAAABBAAAABBABBBBABABAABBBBBBBBABAABBBBAAAA...
output:
YES 1 2 5 9 11 12 16 19 21 24 27 28 29 31 33 34 35 43 47 48 52 53 59 63 68 70 72 74 75 77 84 89 91 93 94 96 97 98 100 102 105 106 109 112 114 115 117 120 121 123 125 127 129 130 132 138 145 147 149 151 154 158 159 164 165 169 171 172 175 177 178 185 187 188 189 193 196 197 201 202 204 208 212 213 21...
result:
ok good solution
Test #86:
score: 0
Accepted
time: 155ms
memory: 749900kb
input:
AABBABBBBBBAAABAAAABBBABBAAABBBBBBBABBBABAABABABBBBBBBBBBAAABABBABBBABBBAAABABBABBBABAABABABBBBBABBBAABBABBBABBBBBABBBBBBAABBBBABBBBBABBBAABABABABAABABAABBBBABBBAAAAABBBBBBBBBABBBBAABBBABAAABBAAAABBAABBAABAABABBBBBBAABBABAABABBBBBABABBAABABBBBABAAABBABBABBAABABABABABABBABAAAAAABBBAAAABAABBBAAABAAAAB...
output:
YES 3 4 5 7 8 9 10 11 13 14 15 16 17 18 19 21 22 23 24 25 28 31 32 33 34 35 36 39 41 43 44 45 46 47 50 51 52 53 54 55 56 57 59 60 61 62 64 66 67 68 69 71 72 74 75 77 79 81 82 83 84 85 87 89 91 93 94 95 96 97 99 100 101 102 104 105 107 108 110 111 112 113 114 115 118 119 120 121 123 127 128 132 133 1...
result:
ok good solution
Test #87:
score: 0
Accepted
time: 29ms
memory: 141540kb
input:
BBBABBBABABAABBAABABAABAAAAAABBBAAABBBABAAABAABAABAABAAAABAABAAABBAABABBBBBAABBBBABABABBABBBABAABAABBBABAAABAABABBBABABABBABAABABBBABBBBBAABABAABAABAAAAAABABBAAABABBABBAAAAABABBBBABAABAABAABBAABAAAABABAAABBBBABBAAAAAABBAABAABABBBBAAABBAABBABAAABAABBBBBBBAAAABBABBABBBBBAAABAAAAAABBBBBAAABABBABABBBBBA...
output:
YES 3 4 6 7 9 11 13 16 17 18 19 20 22 23 27 28 29 31 32 35 38 40 44 45 46 47 49 50 51 52 53 55 56 57 59 60 61 64 65 66 68 69 70 75 77 79 80 81 82 83 84 85 87 88 89 91 92 93 95 96 98 99 102 104 107 108 109 110 111 112 113 114 115 117 119 120 122 123 124 125 126 127 128 130 131 132 137 140 141 143 144...
result:
ok good solution
Test #88:
score: 0
Accepted
time: 32ms
memory: 184832kb
input:
AABABABABAAABABABAABBBAABBBBAAAABBAAAABBBBAABABBAABBBABBBAAABBAAAABAABABBAABBBAABBBBBBBABBBBAAABAABBBAABAAABBABBBBAAABBABBABAAAABAABABAABABABBAAAAABBABBBAABBBAABBAABBBAAAABAAAAAABAABAABAAABABBAAAAAAAAABABAABABBBAABBBAAABBABAAABBAAABBBAAAABBBBBABAABAABBAAABBBABBBBBABABBAABBABBAABABBABAABABAABABABBBBB...
output:
NO
result:
ok no solution
Test #89:
score: 0
Accepted
time: 127ms
memory: 602428kb
input:
AAAAABBAAABAAABAABBAAAAABABBBBABAABABBBBAAAABABABAAAABAAABBAAAAABBBAABABBAAAAABAABBABBBBAAABBBAABBBBABAAABABAAAABABAAABAAAAAAAAAABBBABBBBBBBABAABABAABBAAABAAAAABABABBABBABBBBAAABABBAABBABAAAAABAAABBBBAAAABABABAAABBABBBABBAAAABABBBABABBBABABAABAAAABAAAABBABBAAABABBBBAABAABBAAAAABAABBABBAABAAAAABBBBAA...
output:
YES 5 8 11 14 16 18 20 24 25 27 31 33 34 36 41 45 46 48 49 53 55 58 59 64 68 69 71 73 78 80 82 84 89 91 94 96 101 103 105 106 107 109 112 113 114 116 119 130 132 133 141 142 144 146 148 150 152 154 156 161 162 164 167 170 175 178 180 181 184 186 187 192 194 196 201 205 206 207 208 209 212 214 216 21...
result:
ok good solution
Test #90:
score: 0
Accepted
time: 7ms
memory: 45864kb
input:
AAABABAABBAAABABBBBBBAAABABAAABABBABBAABAABAABABBBAABBABABBBAABBABBBBAABBBBAAABBBBABAAABBBABAAAAAABBABABABABBBBABBBABAABBBBAAABBAABBAAAABABABBBBBBAAABBABAABBAABBBBBBBBBABBAABAAABAAAAABBAAAABABBABBBAABABAABBBABAABAAABABBAABABAABABABBABAAAABAABABABBABAABBAAABBBABBBBBAAABAAABBBBBAABABBABABABBBBAAABAAAB...
output:
YES 3 5 6 8 10 13 14 15 21 25 27 30 31 32 34 36 37 39 41 43 45 47 51 53 54 55 56 58 60 63 64 65 67 68 69 71 72 73 74 75 78 81 82 83 84 87 90 91 92 97 98 100 102 104 106 107 108 109 110 111 112 114 115 117 119 121 122 123 126 129 130 132 137 138 140 146 149 151 152 153 156 157 158 159 169 171 173 174...
result:
ok good solution
Test #91:
score: 0
Accepted
time: 155ms
memory: 889588kb
input:
ABBAABBBBAABABAAABABBAAABAAABBAAABABAABAABBBAABAABBBAAAAABBAABBAABAABBBBAAABAABABABABAABAABABBABAAABABABBABBBBABAAABBBBBAAAABBAABAAABAAABABBAAABBABBBAABABAAAABBBBBAAAAABBBAAAAAABAAABBBAAABBABBABBBABBBBABBBABBABABBABABAAAAABAAAABAABBBABAAAABBBAAAABAAAABAAABBABAAABAABBAABAABBAABAABABAAABBBAAABBBAABABB...
output:
NO
result:
ok no solution
Test #92:
score: 0
Accepted
time: 153ms
memory: 829168kb
input:
BBBBBBAABBABAAABAAAAABAABBBABBABABAAABAAABBABAABAABABAABABAABBABBBBBBBBBBBBBBABBBABBBAAAABBBBABBBAAAAAAAABAAABABABBABBBAABBBABABAAAABAABAAAAABABBBBAAABBABAAAABAABAABBBBBBBBABBBBAABABBABBBAAAAAAABBAAAABABBAAAAAAABBAAABBAAAAAABBBAABBBBABBABBAAABBBBAABABAABAAAAABABBAABABBBBBBBAAABAABABBBBBBBBABBABABBAB...
output:
NO
result:
ok no solution
Test #93:
score: 0
Accepted
time: 108ms
memory: 543884kb
input:
BAABBBAABAABAABABBABABBBABABAABBAABAABBABABAAABBBBBBAAABBBAABBABABBAABAABAABBBBABABBBBBBAAABBBBAAAAAAABBBAAAAAAABABABBAAABABABABABAABBABBBABBBABBBBABBBBABBABBABABAAAAAAAAABBBBAABBBABAABBAABABAABBBBBAAAAAABBBBAABAAAAABAAABBABBBBBABAABBABBBAABBBABAAAABBAABBABABABBBAABBBAABBAAAAABBBABBBBBBBABABABABABAB...
output:
NO
result:
ok no solution
Test #94:
score: 0
Accepted
time: 58ms
memory: 318120kb
input:
BBBBAAAABBAAABAAABBAAABBAAAAAABABAAAABABABABABBAABABAABBABAABBBAAAAAABBBBBAAAAAABABBBBABAAAABBAABABBBAAAABBBBBBABBAAABBAABAABBBABBBBBBBAABBBABABABABAABAABABBBBABBBABBAABAABAAABAABBBBBAAABBABBBAABBAAABBBABBABBBABBAABAABBBBAABABAABBBBBBABBAABBBBAAABBABABBBAABABBAAAAABABABBABBBBBBAABBBAABAABBBAABABBABA...
output:
YES 4 9 10 13 15 17 19 23 25 30 32 34 38 39 40 41 43 45 48 49 50 51 53 54 57 59 61 63 69 74 79 80 82 86 87 88 92 95 96 98 100 101 104 105 112 114 117 118 119 121 122 124 128 135 137 140 142 143 144 146 148 149 150 151 152 153 154 155 159 161 162 163 164 165 166 169 170 171 172 176 177 178 182 183 18...
result:
ok good solution
Test #95:
score: 0
Accepted
time: 64ms
memory: 371808kb
input:
BABBBBBBBBAABABAABBABABABBBBBBAAABBBABAAABBAABBABBBAAAABAAABBBBBBBAABBBBAABBAAABBBAABBABAABBAAABABABABAABABAABAAABBBAABAAAABBABBBAAABBBAAAABAAABBABAABABAABBBBABBABBBAABBBBABAAAABAAABBAABBABBAABBAAAAAABAAAAABBAAABAABAABAABBAAABABABBBAAABABBAAAABABBAAABBBBABABAAAABBBAABABAABAAAABBAAAABBBAABBABBBBAAAAB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 95 97 98 99 100 101 103 104 105 106 107 109 ...
result:
ok good solution
Test #96:
score: 0
Accepted
time: 51ms
memory: 542824kb
input:
AABAAAAAAAAABABBAAAAABABABAAABAABAAABBAABBAABAABBAAAABAABBBABBBBABBABBAAABBAABABAAABBABABBBBBBBAABBABAABBBBAABABBABBBABABBAABABABBBBAABBABABABAAAABBAAAAAAABBABABBAABAAABBBAAABAAAAAABBAAAABAAABABBBABAAAABBBBBABABBABAABBAAABBAAABBAAABBAABBABABAAAAABAABABABBBABBAABABBBBABBABABAAAAAAAAABAAABAABBBABAAAAA...
output:
NO
result:
ok no solution
Test #97:
score: 0
Accepted
time: 143ms
memory: 795912kb
input:
ABABABBABBABAAAAAAAABBABBABBAAAABBBBBABBAAAABBBAABAABBAAABABBBBBBBABAABBBABBABABBBAAAABABABBBBBAAAAABBBAAABBBBBBBAABBBBAAABAAAABABBABAAAAABAAABBAAAAAAAAAABABBBAABBBBBBBAABABBAAAABABABBBBAAABABABAAAAABABABBBAAAABBAABBABAAABABABAABABABBAABABBBAAAAABBBBBAABBAABBBBBBABAABAAAAABABAAABABBAAAABAABBBAABAAAB...
output:
NO
result:
ok no solution
Test #98:
score: 0
Accepted
time: 184ms
memory: 933420kb
input:
BBBBABABABAAABBAABAAABABABBBABAABABABBABABAABBBBAAAABAABABAAAAAABABBBBABABABBBAABBBBABABBBBAABBAABABAABBAAABBBBAABAAABABABABBABABBBBBAAAAABAABAAABBABBBBAABAAAABBABAAAAAAAABABABAAABBAABBABABBBABBABBBAABBBBABBBAABBBAABBBAABAAABABAABABABAAAAAAABAABBBABBABAABBABBBBBBABABBABABAABBBBBABBBBBAAAAAABABBBBBBB...
output:
YES 4 6 7 8 9 10 13 15 17 18 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 42 43 44 46 47 48 52 53 54 55 56 58 62 63 64 66 68 69 70 72 73 75 76 77 78 79 80 83 84 85 87 88 89 90 91 92 93 95 97 98 99 101 102 103 104 106 107 109 110 111 112 113 115 116 117 118 119 120 121 123 125 127 129 130...
result:
ok good solution
Test #99:
score: 0
Accepted
time: 44ms
memory: 291436kb
input:
ABAABBAAAAAABABABBAAABABBAABAABBBBBBBABABBABABAAAAABABBAAAAABBABBAAABBAAAABABABABAABBBAABABAABAABAAABBBABABAAAAAABBAABAABBBBBABAAABBAAABBBABABBBBAAAABABAAAABBBABABBABABAABBABBBABBBBABABBAAAAAABBBAABABABAABBBBABAAAAABAABAAAABABBBAABBBBBABBBBBAABAAABBABAABBBABBBBAAAAAABBBABBABAABBBAAABABAABBBBBBBBBABB...
output:
YES 1 3 4 6 9 10 11 12 13 15 16 17 18 21 22 23 25 27 28 29 30 32 33 34 35 36 37 39 40 42 43 44 46 49 50 51 52 53 56 57 58 59 60 62 63 64 65 67 68 71 72 73 74 76 78 79 81 83 85 86 87 88 89 90 91 93 95 96 97 99 100 101 102 103 105 106 107 110 111 112 113 115 117 118 120 123 124 125 126 127 130 131 132...
result:
ok good solution
Test #100:
score: 0
Accepted
time: 104ms
memory: 445208kb
input:
BAAABAABBBAABABAABAABBBAABBABBBBAABAAABBBABAABABABABBBBBBABAAABAAAAABABBAABAABABBBBBABBAAAABAAAABBBAAABAAAABABBBBAAABBBABAAAAAAAAABBBABBAAABBABBBBBBABBAABAABAABAAABAAAABAAAAAABBAABAABBBAAABBBBBAAAABBBABBAABAABBABBABAABABABBAABBAABAABABAAABABAABBBBBABAAAABBBBBAABBAAABBBBAAAABBBAAAAABABABABBABAAABABBB...
output:
NO
result:
ok no solution
Test #101:
score: 0
Accepted
time: 18ms
memory: 97840kb
input:
AAAAABBBBBAAABBAAAABAABBAAAABBBABABBAAABBBAABAAABBBBABABBABBBBABBBABABBBBABAABABBABABABBAAABBABABAABABBBABBABAAAAAABAAABABBBAABABBBABBBBBBAABAABABABBBABABBAAAABBAAAAAAABAAAABABBBBBABBAAAABBBAABBBBABBBBBABBABABABBABBABAABAABBBAABBBBBBBBBABBBBBBAAABBBBBAABAABBABAAABBBABBABBBAAABBBBBBAABABABAABAABAAABB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 103...
result:
ok good solution
Test #102:
score: 0
Accepted
time: 184ms
memory: 1038280kb
input:
AABBAABBBAAABBBBBABAABBAABBBAABAAABBABBABAABBBBAABAAAABABBABABABBABBABAAABABAABBABBABBBABBBABBBABBAAAABBBBBAABABBABBBAABABBABBABBBABBBAABABBBAABBABBAABABBABABBAABBAAAABABABBABABAAAAAABABBABAABABABBABAABABABABBABBBAAABABBBABBABBBBABAAAABABBBBBABBAABBAABABBAAABABBABAAAABBABBBBAABBBBABBBBABBABAABAABBBA...
output:
NO
result:
ok no solution
Test #103:
score: 0
Accepted
time: 136ms
memory: 600468kb
input:
BABBABABBABBABABBAAAAAAAAABBBBABBABAAABAABBAABABBAAABBBBBABABAAABBBBAABABBABBAAABBAAABBABBBBAABAABAAAABAABABBAAABABBBBAABABBBAABABBBBAABAAAAABBABAABABABAABBBAAABBABAAABAABBAAABBBABAABBAABABBABAABABAABABBABBBABBABBAAABABBBABAABAAAABBBABBBABBBAABABABABABBAAABBAAAAAABBABABBAABBBABBAAABBBABAAABAABBABBAB...
output:
YES 2 4 6 8 9 10 11 12 14 15 16 17 20 21 22 23 24 25 26 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 70 71 72 73 74 76 77 78 79 80 82 84 85 87 88 90 91 92 93 94 95 97 98 100 101 102 103 104 105 106 107 109 111 112 114 115 116 117 1...
result:
ok good solution
Test #104:
score: 0
Accepted
time: 100ms
memory: 605784kb
input:
ABABBAABAABAABABBAABAABBBAAABAABABBABAAABAAAABABBBBBBBBBABBBBABBBABABAABABABBBABBAABABBBBBAABBABBBBBAABBABBABABABABBBAABBBAABBBABAABAABABBAAABBBBABBABBBAAABAABBAAABABAABBBABBBBABAABABBAAABBABABABABBABAABABBBABBAAABABBABBAABABABAAABABBBBBAABBBBABABABABAAAABABBBABBAAABABBABAABABAABABABABBBBAAAABAAABAA...
output:
YES 1 2 4 5 6 7 8 10 11 13 14 15 17 19 21 22 24 25 28 30 31 32 33 35 37 40 41 43 44 45 46 47 55 56 58 59 60 61 62 63 64 65 66 67 69 70 71 73 75 78 79 80 81 82 83 85 89 90 93 94 95 99 100 103 104 105 107 109 110 111 113 114 116 117 119 121 122 123 124 127 128 129 130 131 132 134 135 136 138 141 144 1...
result:
ok good solution
Test #105:
score: 0
Accepted
time: 61ms
memory: 305176kb
input:
BBAAAAAAABBAAABABBBABAABBAABBBABAAABBBBABABBBBBBAABAABAAAABBABBBABABAAAABBAAABBABABBBAAAAABABBABAAAABABAABABBABABBBABBBAABAAABAABAAAAABAAAABBBBABBAAAABAAABBABBAAABBABBBBAAABABAAAAAABBBABABAABAABAABABAABBBAABBAABABAABBBAABBABBAABBAAAABABAAAAABBBAABABBABABAAAAABBABBBBBBBBABAAABBBABBBBAAAAABBBABABBBABA...
output:
YES 2 7 8 9 11 13 14 15 16 18 19 20 21 22 23 24 25 27 28 29 30 32 35 37 38 39 41 42 45 46 47 48 51 52 53 54 57 58 60 61 62 63 64 65 66 68 70 71 72 74 77 79 81 82 84 85 90 92 94 96 97 98 99 100 102 104 105 107 110 111 113 114 115 117 118 119 121 122 125 126 129 134 135 136 137 138 139 142 143 144 146...
result:
ok good solution
Test #106:
score: 0
Accepted
time: 63ms
memory: 301208kb
input:
AABBBBBABAABBAAAAABAABABAAAAABBBAABBBBBBBBABABBBBBAABBABBBBBAABBBAAAABABAABBBABBBBBBABBBBBBABBABABBBBABBABAABBAAABAAAAABAAABBBABABBBBAAAABABABAABBAABBABABABAABAAABABBABAABBBBABBBAAABBBBABBBAABBBABABAAABBBBABABBAABAABABBBABABBBAABBAAAABBAAABAABABBAABBBABBAAAAABABAAABBAABBABABBBBABBBBBAABAABBAABBBABBA...
output:
YES 2 7 9 12 13 18 19 20 21 23 24 25 26 27 28 29 32 34 39 40 41 42 43 45 48 49 50 53 54 55 59 60 62 64 65 68 69 71 72 74 78 84 86 87 88 89 90 91 93 94 96 97 99 100 101 102 105 107 108 110 112 113 114 119 121 122 123 126 128 129 133 136 137 138 139 140 142 143 144 146 147 148 150 152 154 156 159 161 ...
result:
ok good solution
Test #107:
score: 0
Accepted
time: 67ms
memory: 352112kb
input:
AAABBBBABBBBAABBBBBBBABAABABABAAABABABAABBAAAABABBAABBABBAABBBBAABBBBBBABBBAAAAABAABBABBBBAABBBABBBBBBABAAAAAABBABBAABBABAABAABBAAABABAABBBBBABABAAAABAAABBABBAABBBABBAABABABABBBAABAAABAABBABABAABABAAAABBBAABAABBAAAAAABBBBABBBBABBAABBBBBBABBABAAAAABBBBBABBBBBBAAABAAAAAABABABBAABABBBABBBBABBABABABAAAA...
output:
NO
result:
ok no solution
Test #108:
score: 0
Accepted
time: 26ms
memory: 156608kb
input:
ABABAAABBABABBABABBAABAABBABBABAAABBBBAABABAAAAABAAAABBABBBABBAAAABAAABAABABABBAAAABBBABBABBABAABBAABBAAABBBAAABAAABAAAAAAABBAAABBBABAABABABBAAAABBAAAAABBBABBBAABBAABABAABAABABAABBAABBABAAAABBBBBBABAAAAAAAAAABABABABBABAABAABBAAABBBBBAAABABBABAAAABAAABBBABBABABAABABBBAAABBAABAAAAABBABBAABBBBABBBABAAB...
output:
YES 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 23 24 26 27 30 31 32 33 34 36 37 38 41 43 44 45 46 47 48 49 51 52 53 54 55 56 58 59 61 62 64 65 66 68 69 70 71 73 74 76 78 79 80 81 82 83 84 85 86 87 89 91 92 93 94 95 96 98 100 102 104 105 106 107 108 110 111 113 114 115 116 120 121 122 123 124 125...
result:
ok good solution
Test #109:
score: 0
Accepted
time: 140ms
memory: 715892kb
input:
BABAABBBABBBBABBBBBBABBABAABBAAAAAABBBAABABABBBBABABABBBBBBAABBABBAABBBBBBABBBBBABAABBBBAABAABAAAAAAABAAAAABBABAABBBAABABBAAABABAAABABAAABBBBBBBBAAABAABAABAAAABAAAAABAABBBABAABBBABBABBABBAABBAAABABBBAABAAABAABBBABAABBBBABBBAAABBBBBBBAAAABABABAAAAABABAABABABAABBBBBAAABAABBAAABABBBBABAABBBAABBAAABBBAA...
output:
YES 1 2 3 5 7 8 9 10 11 12 13 14 16 17 18 19 20 21 23 25 26 27 28 29 33 34 35 36 37 38 40 41 43 44 46 47 48 50 51 52 53 57 58 59 62 63 64 65 66 67 68 71 72 73 74 75 76 77 78 79 80 82 83 84 86 87 88 89 90 92 93 94 96 97 98 99 100 101 102 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120...
result:
ok good solution
Test #110:
score: 0
Accepted
time: 127ms
memory: 617712kb
input:
BABABABBBBABABBABABABAAABAAAABABBABABABBBBAAABABABAAABABBAABABABABABAABBABAABBAABBBBAABBABBBAAABBBAAABABABABABBBBAABABAABBAABABBABBABBBBAAABBAAABAABBABBABBABABBABBBBBBAAABBABBBBBABAAAABAABAAABBAABABAABABABABABBABAAAAABBABABABABAAAAAAABAABABAABBBAABABBAABAAAABAAAABAAABABBBAAAAAAAABAAABAABABAAABBBABBB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 92 93 94 95 96 97 98 99 100 101 102 103 104 ...
result:
ok good solution
Test #111:
score: 0
Accepted
time: 143ms
memory: 702796kb
input:
BABBBAAABBABABBABABBBBBBBBAAAAAAAAAABBBAAABBABBAABABAABAAABAABABABAAABBAABABBBBBABAABABBAABBAABABAABBABAABBBAABAABBAAAAABABBAABBBBABBAAABAABBBABABBBAABBABABBABBBBBABABBBABAABABABAABABAABABABABAABBBAABBAAAAAAABAAABAABBAAAAAAABBBAABABBBBBBBBBBABAAAABAAABAABBABBBABBBABBAAABABBBABBBBABBBBBBAAABAAAAABABA...
output:
YES 1 3 4 5 6 7 8 9 10 12 13 15 16 18 23 24 25 26 29 30 31 32 33 34 35 36 39 42 44 46 47 48 49 50 51 52 54 55 57 58 59 61 62 63 64 65 66 67 68 69 71 73 74 75 77 78 79 80 81 82 84 85 86 88 90 91 92 95 97 99 100 101 103 105 106 107 108 109 110 112 113 114 115 118 119 120 121 122 124 127 128 129 130 13...
result:
ok good solution
Test #112:
score: 0
Accepted
time: 156ms
memory: 822204kb
input:
BABBAABBABBBABBBBBBAABABBABABAAABBABABBABAAAABBAAAABBAABAAABABAABABABABBBAAABBBBABAAABAABAAAAABABABBAAAABABAABBABBBAABBBBABBBAAAAAAABBABAAABBBAABBABBABBBBBAAAABBBBABBAAABAABBAABBBBAABBBBAABABAABAAAAABABAAABBAABAAABABBAAABBAAABAABBAABAAAABBBBAAAAAABBAABABBBBAAAAABBABAABBBAAAABBAABAAABBBBAAABBAAABBBBA...
output:
NO
result:
ok no solution
Test #113:
score: 0
Accepted
time: 4ms
memory: 54140kb
input:
ABBABABBBBBAABBABABBAAAABABBAABBBBBBBABABBBBBBBBAABABAABBBABBABAAAABBABBBABAAAAABABABABAABBBAAABBBBBABAABBAAAABABBABABABBABABBBAABABBABBAABBBAAABBABABAAABABBBABBBBBBBBBAABAAAAAAABBBBBBBABBABBAABBABAABBBBABBABABBABBABBBBBAABBAABAABABBABAAAAABABAAABBBAAAABAABABABBBAAAAABAAAAABAABAABBAAAAABBBABAABBABBB...
output:
YES 1 4 5 7 11 14 16 18 20 25 26 27 28 29 30 38 39 40 45 46 47 48 51 52 53 56 57 58 59 62 63 67 69 71 72 73 74 75 80 81 83 85 86 88 89 93 94 95 101 102 104 105 106 110 112 113 114 116 117 119 121 123 124 127 130 131 132 133 134 135 136 137 138 139 140 141 144 146 147 148 149 150 152 153 155 158 159 ...
result:
ok good solution
Test #114:
score: 0
Accepted
time: 40ms
memory: 206216kb
input:
ABBBBABABBABBABBBAAABABAABABAAABBAAAAAAABAABABABBAABBABABABAAABABABBABAABABBBBABBAABAABAABBABABAABBBBBBBBBBABABBBABBBBAABABAAABBBBBAABAABAABABABAABBAABBBBBBBBBBBABAABABBBABAAABBBABBBBABBBAAAAABBAAAAAABAABBBBBBABABBABAABAABABABABAABBABABBBABBABBAABABBBBBABABBABAABABABBBABBAAAABABBABABBBAABBBABAABABBB...
output:
YES 2 5 6 7 9 11 14 17 20 22 23 26 27 29 31 33 40 42 43 45 46 48 49 52 54 55 56 58 59 62 63 64 66 69 71 72 73 74 78 80 82 84 87 90 92 94 96 98 107 109 110 114 118 121 123 126 131 134 137 140 141 143 145 147 148 151 162 163 165 166 168 171 172 175 178 180 184 187 192 194 201 203 209 210 212 214 216 2...
result:
ok good solution
Test #115:
score: 0
Accepted
time: 112ms
memory: 406056kb
input:
BBBBBBAAAABBAAAABBABBBBABABABAABABAABBABBBBBBBAABBAAAAABBABBBBAAABBAAAAABABBBBBBABABABBAAAABBBABBBAAABBBBBBBABBBBAABBAABAAABABAAAAAAABAAABBBABABABABAAABAABAABABAAABBAABAAABAAABBBABAAABAAAAAAABAABABBBBBAAAABAABABBABBAABBBBBBABAABABBBABABBAABABABAAABABAABAAABBBAABBBAABBABAABBAABBABABBABBBBAAAAABABAABB...
output:
YES 2 3 4 5 6 8 9 10 11 12 15 16 19 22 23 25 26 27 28 29 30 31 32 33 35 36 39 43 44 45 46 48 49 50 51 52 53 54 55 57 59 60 61 62 65 67 69 70 71 72 73 75 76 77 78 79 80 82 83 84 85 87 89 90 91 93 94 95 96 97 98 101 103 104 105 106 107 108 109 110 111 112 113 115 116 117 119 120 123 125 126 128 129 13...
result:
ok good solution
Test #116:
score: 0
Accepted
time: 95ms
memory: 568764kb
input:
BABAAAABBABAABAAAAAAAAABABAAAAAABBAABAABABABABBBBBAABBAAABBABBBAABABBABAAAABAAABABBAABAABAAAAABABABABAAAABABAAAABBBAAABBABABABABAAABABBBABBBABBAABAAAAABABAAAAABAABBAAAABABAABBBBBBAABAABAABABABAAAAABAABABABBABABBABABABABBAAABABAABAAABBABAABAABAAABBAAABABABABAABAAABABBABAABBAAAABAAAABBAAAAABBAAAABBAAB...
output:
YES 2 3 6 7 8 9 11 12 13 14 18 19 20 21 22 23 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 65 67 68 69 70 71 72 73 74 75 76 77 78 79 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 102 103 104 105 106 107 108 110 111 1...
result:
ok good solution
Test #117:
score: 0
Accepted
time: 126ms
memory: 638360kb
input:
BABABBBAAAAAABBBBAABBAABABAAABAAABBBBBABBBABABABBBBABAABBBAABABBAABAAABAABBABBBABABABBBBBBBBBBAAAAABABABABBAAAABBBBBBBBBBABBABBABAABBBAABAAABABABAABAAAABAAABAAAABAABAABBBBBAABAABBABABBABBBAAABBBAABBAABBBBBABAABABBBABBAAAAABAAAABBBBABBABABABAABBAABBBBABBAAABAABAABBBAABBBBAABBABBABBBABABBBAAAAAAAAABBB...
output:
YES 1 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 35 36 37 38 39 40 41 42 44 45 46 47 49 50 51 52 53 54 55 57 58 59 60 62 63 64 66 67 70 72 73 75 76 78 79 81 83 84 86 87 88 89 90 91 92 93 94 97 98 99 100 101 102 104 106 107 109 110 111 114 115 116 117 118 119 120...
result:
ok good solution
Test #118:
score: 0
Accepted
time: 63ms
memory: 444872kb
input:
BBBBABBBAAAABABBBBBBBBABABAABBBBBAAABBAABABBBABAAABBBABAAABABABBABBAAABAABAAABAABABBAAABAAAABBBBABBBBAAAAABABAAABBBABAAABBBBAAAABBBAAABBABABABBBABBBBAAAAABABBAAAABAABAAAABABABBBBABAABABABABBBBBBBBAAABBBBBBABBBBBAABBAAABAAAABAAABAAAABAAABABBBAAABBBABABBAAAAAABABAAABABABABABAABBAAAAABBBAAABBBBBBBBABBB...
output:
YES 4 6 8 13 15 23 25 27 29 34 37 38 41 42 45 47 51 53 54 55 59 60 62 64 65 67 71 74 78 81 82 85 88 92 96 98 101 106 108 110 113 116 117 120 125 128 130 131 135 136 138 139 141 143 144 145 146 147 148 149 154 155 156 157 158 162 163 165 166 169 170 171 172 173 174 179 180 183 184 186 188 196 197 198...
result:
ok good solution
Test #119:
score: 0
Accepted
time: 72ms
memory: 377016kb
input:
ABBAAAAABBABAABBABBBAABBAAAABAABABBAABBBAABBABBBBABABABABAABBBBBBAAABBABAAABAAAAAABABAAABBAABBBBABAAABBAAAABBBBAABBBBABAAABABAABABBBAAABABBBAAAAAABABABAAAAABBBBAABBBBBBBBBABAAABABABAABBBBABABAABBBBBBBAAAABBBAAAABBAABBAABABBBABABBBBAABBABBABABBBAABABAABBBABABAAAAAABAABABABAABBBABAAABABABBAAAABAAABABB...
output:
YES 1 3 8 10 12 14 17 20 23 25 28 30 32 33 35 38 40 43 45 49 51 53 54 56 57 59 66 69 70 71 72 76 82 84 86 89 91 93 97 98 101 104 108 112 113 118 119 123 124 125 128 129 133 135 137 141 147 148 150 151 156 160 163 172 174 176 178 180 182 184 188 189 191 194 200 205 208 212 213 215 217 219 220 222 224...
result:
ok good solution
Test #120:
score: 0
Accepted
time: 203ms
memory: 1026704kb
input:
ABBBAABBBAABBBAABBBBBBABAAAABBABBAABBABBBBABAAAABAAAABAABBABAAABBBBAABABAAAAAAABABBABAAAABABAAAAAABABABABBAAABABBAABABABAAAAAABAAABBBBBBBAABABBBAABAABBABAABABBABAAABABBABABABABAABAAAABBBBAAABAABBBAAABBBBBABAABBBBBBABAAAABAAAABBBBAABAABABBABABAAABBBABAABBAABABAABABBBBAABBBBABBBAAABAAABABBABABBABAAAAA...
output:
YES 1 2 3 4 6 7 8 9 10 11 12 13 14 16 21 22 24 25 26 27 28 30 32 33 34 35 36 37 38 40 41 42 43 44 46 47 48 49 50 51 52 53 54 56 57 58 59 60 62 63 65 66 67 68 69 70 71 72 76 77 78 79 80 82 83 84 85 86 87 88 89 90 91 92 96 97 98 99 100 101 102 103 105 106 108 109 110 111 112 113 115 117 118 119 120 12...
result:
ok good solution
Test #121:
score: 0
Accepted
time: 4ms
memory: 25876kb
input:
AABAAABBABBABBAABBBBAABBBBAAAABBABBAABBBBAAABAABAABBAABABABABAABABAABAABABBBAABAAAABAAABAABAAAAAABBAABBABAAAABBAAABABBAABABABBBBBBABBAAAAAABAABBBBBAABBBAAAABBABBBABAABBBBAABABABBABABAAAAABABBAABBBBBABABBBBAABAAABBABAABBBBBABBBAAABBAAAAABBABBABABBABBAABBBAAAAABABBABAABAABAAAABBAABBAABBABBBAABAAABBBBB...
output:
NO
result:
ok no solution
Test #122:
score: 0
Accepted
time: 188ms
memory: 972996kb
input:
BAAABBABABBBABABBAABBAABBABBBBBAAAAAABBAAABABAAABBAABBBABABBBAAAABBABBBAAABAAABAABABBABBAABBBABBAAAAAABBAABAABBAABBBBABABBBABBBBAABBAABBAAAABBBBBBABABBABBAABAAAABBBABAABBBBAAABABABAABBBABABABBABBBABAAABBBBAABAABABABAABBBBABABBABABAAABBBBAABBBAAAABBAAABABBBABBBAABABBBAAAABBABBAAABBABABABAAABBAABBBBAB...
output:
YES 1 4 7 8 10 11 12 13 15 18 19 20 21 23 26 27 28 29 30 31 37 40 41 42 44 45 47 48 49 50 51 52 55 57 58 60 61 65 67 68 71 73 74 75 77 78 80 81 83 86 88 89 90 92 93 94 95 96 99 100 101 102 105 106 108 109 110 111 112 113 115 116 117 119 120 123 125 126 127 128 130 131 132 134 135 136 140 147 149 152...
result:
ok good solution
Test #123:
score: 0
Accepted
time: 96ms
memory: 515532kb
input:
ABAABBBABBBAAAABBABABBBBAAAAABBABBAABBAABAAABBABAABBAAABBBAABABBABBABBBABBBBBAAAAABABAABBABAABAAABBABAABAAABABAABBBABABAABBAABBABBAAABBBABABBAAABAABBABAABAAAABABAABAAABABBAABAAAABBBABBBABBAAABAABBABBABBBBBBAABBBBBAABBBBBABBBAAABABBBBAAABBABABABABBBAABAABBBABABAABBBBAABAABABBBBAABBBBBBBBBABBABBABBABB...
output:
NO
result:
ok no solution
Test #124:
score: 0
Accepted
time: 8ms
memory: 38108kb
input:
AAAAAAABAABABAABABABAABAABAAAAABBABABAAAABBBBBBBBABABABBBBABBBBAAABBABBABABBBBBAABABBABAAAAAAAABAABBAABBAABABAAABABBABBBAABBAAABABAAAABBAAABABBBBBABBAABBBBABABBBBABBBBAAAAABBAAAAABABABBBAAABABABABBABBAAAABBABBAAAABBBAAABBABABABAABAAABABABAABBABABBBBBBABBABBAABBAABBBBBABABBAABABBABBBBABBBBBABAABBBAAA...
output:
NO
result:
ok no solution
Test #125:
score: 0
Accepted
time: 23ms
memory: 193928kb
input:
ABABBBABBBBBABBBBBBABBABBBBBAABAABABBAAABABBABAABBABABABABBBBBABABBAABBBBABBBABABAAABBAABABBABABBABBAAAABBABBBBABBBBBABABABAAAABBABBABBBBAAAABBABABBAABBAABBAABAAABBAABBBBBBABAABABABBAAAABBABAABBAAABAABBBAABAAAAAAAABBABABABBBAABAAAAABAAABABBBBBAABABBABBBBABABBABBBABBABAAABABBABABAAABAABAAAABAABAAAAAB...
output:
NO
result:
ok no solution
Test #126:
score: 0
Accepted
time: 96ms
memory: 466540kb
input:
AABABBABAAABBBBABAABAABAAAABABAAABAAABABBBABABBABABAAAABBABAAABBAAAAAABBAAAAAABABBABAABABAABAABBABBAAABAAAABAABAABBABAABAABBABAAAAAAAABAABAAAAAAABAABAAABBBABABBBBABBABBAABABAABAAABAABBBBAAABAAABAAAAAABAAAAAAABAABBBABAABAABABAABAAAABABBABAAABBABBBABAABBAABBABABAAAAAAAAAABBAABBBABBBABBBAAAABABAAAAABAB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 64 66 67 68 69 70 71 72 75 76 77 78 80 81 82 83 84 85 86 87 88 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 1...
result:
ok good solution
Test #127:
score: 0
Accepted
time: 187ms
memory: 960336kb
input:
BBAAABBABABABBBBBBBBABBBAABABBBBBABBABBBBBABABBBAABBAAAAAAAABABABBAAABBBABBBBBBBABBBABABBABBBABBBBBAABBAABBAAAABBAAABABBAABBBABAAABBAAABABAAAAAAAAAABAAABBAABBAABBABBAABABABBBAAAABBABAAABAABBBBBABBAAAABABBAABBBABABAAABAABAAAABBBAAAAABABAABAABBAABABBAAAAABBABBBBAABAABBBAABAAAABBBABABBBBABABBBAABABBAAA...
output:
NO
result:
ok no solution
Test #128:
score: 0
Accepted
time: 202ms
memory: 1003504kb
input:
ABABBBABBBBABBBBBABABBAABAAABBAAAABABAAABBAAAABAAABABBBAAABBABAAABBABAAABABABBBBBABBABBABBABABABBBBBBABBABBBAAAAABBBAAAABAAAABAABABABAAAAABBABBAABBABBAABAABBBAAAAAAABAABBBBAABABBAABAAABBAABAAABABBABABABABABABAAAABABAAABBBBAAAAABAAABBABBABBABABAAABAAAAAAAAAAAABABABBBBAAAAABBBBABBBABAAAAAAABBABABBAABB...
output:
NO
result:
ok no solution
Test #129:
score: 0
Accepted
time: 71ms
memory: 311984kb
input:
BBBAAABABABAAABBBAAAABABBAAABABAAAAABABBAABAABABBBAAABAAAAABBAAAABBAAABBBABBBAABAABABABABBBBAAAABBAABAAABBBBBBABABAABBAABABBAABBABBBABBBAAABBABAAAAABBAABBABABABABAAABAABAAABBBBBABBABABBABBABBAABAABBBABBAAAABAABBAAABAAABBBABBBABABABAAABAAABBBABAABBBAABAAAABAAABBAAABAAAAABBBABABABAABABBAABBAAAABBABAAA...
output:
NO
result:
ok no solution
Test #130:
score: 0
Accepted
time: 79ms
memory: 462408kb
input:
BAABBBAAAABBAABBBABBABAAABABBABBBBABABAAAAABAABBABABBBAAAABABBBBAAABBABBAABAAABBAAABABBBAAABBBBBBAABBABAABABABAAAABAABBBBAABABAAAAAAABAAAABBAAAAABABABBABBBBAAABBAABBBBBBABABABABAAAABBAAABAABABBBBBBABBBAABAAAABABBAABBBAABAABABAABABBAABAAAABBAAAABBAABABBABAABABABBABABBBBBAABBBBBAABBBAABABBABBBAABAABAB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...
result:
ok good solution
Test #131:
score: 0
Accepted
time: 140ms
memory: 700176kb
input:
BBBBBAABBABABBAAAAAAABABAABAABABBBBBBBBAAABBABAABBBBBBAAAAAABAABBBAABBBABAAABABBBAABABBBBAAAAABABBAAABBBBBBBAABAAABBBAABAABBBBAABBBBBBAABBBABABBAAAAAAABABBBBBAAABBBABAAAABAABABBABABABABBBBBBBAAAAAAAAABAABBBAABBABABBAAABBBBBAABBAAAAABBAABABAABBBAAABAABAABABAAAAAABBAAABAABBABBAAAABBABAAAAAABBBAABABABA...
output:
YES 2 3 4 5 7 8 9 10 11 12 13 14 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 51 52 53 54 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 91 92 93 94 95 97 98 100 101 102 103 104 105 106 107 108 109 11...
result:
ok good solution
Test #132:
score: 0
Accepted
time: 144ms
memory: 816084kb
input:
AAABABBBBAABABBABAAABBABBBBABBABBBBABABBAABBBBBAAAABBBBABABABBABBAAABBBBBAAABBBABBAAAABBBBABBABAAAAABAAABBAABABABBBABABBAABBBBBAAABABBBBABABAAAAAAAAABBBBBBBBAABABBABBBAAAABBBBABBBAAABABBABAABBBABAAAAAAAAAAABBABBBABAABBABBABBABBBBBABBBAAABAAAAABBBAAABAABABBAAABAAAAAAABABBABBABAABBABABBBABBBABBBABABBB...
output:
YES 3 4 5 9 12 13 16 17 20 23 27 29 31 35 36 37 39 40 42 47 52 54 55 56 57 59 60 63 65 68 72 73 75 76 78 79 81 82 84 85 86 91 92 93 95 100 101 103 104 106 108 110 111 112 115 116 118 120 122 125 126 127 130 132 134 135 136 138 140 145 146 147 148 149 156 157 160 162 163 164 166 167 169 170 171 174 1...
result:
ok good solution
Test #133:
score: 0
Accepted
time: 55ms
memory: 311444kb
input:
BABBABABAAABAAAABBABABBBBBABBBBABBBABBBBBBAABBBAAAABABAABBAABBBBABABABBBBBAABABBAAAAAABAABBBBBAAAAABABBBAAAABABBBBABBBBABAAAABBAAAAABAABABBAABAABAABBBBABAAAABBAAAABAAABAABBBABAABBBAABAAAAABBBBAABBBABBBBABBBABABAAABAABABABBABAAAAAAAAAABAAAABAAABBBBAAABBABBBBAAABABBBBABBABBBAABBABBABAAABABBBBABBAAAAAB...
output:
NO
result:
ok no solution
Test #134:
score: 0
Accepted
time: 147ms
memory: 781700kb
input:
BBBAABAAAABBBABBBBABAABBABBBABBBBBBABAABBBBBAAABBAAABAABABABAAAAABABBBBBAABBBABABBAABABAABBBBAABBABABBABBBBAABBABABABBAABABBABAABBABAAABBBABBAAABBAAABABAAAABABBBBBBBABAAAABABBAABBABAAAABBBAAABBAABABAABBABABABABBBABBABBBABBBABAAABABAAABBAAABABAABAABBBBBBBABAABABBBAABABBBAAABAAAABABBAAAAABBABABBBBABBA...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 22 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 79 80 82 83 84 85 86 87 88 89 90 91 92 93 94 95 97 98 99 100 101 102 103 106 107 108 1...
result:
ok good solution
Test #135:
score: 0
Accepted
time: 67ms
memory: 365264kb
input:
BBABABBAABBAAAABABBBABBBABAABAAABABBAAAABBBABAAABBAABBBBBBAABABAABAAABBBBBABABBAABBBBAABAAABBBAABBBBAABBBABAABAAAABBBAABBBAABBAAABABBBBBAABBAABBBAAABABAAABAAAABBAABBBBAABAABBABABAABAABBAAABABABAABBBABAAABAAAABAABABBBABAAAAAABABAAABABBBAABABBBBABBBABABBABABBAABBAABBBABABAAAAABBBBBABABABBBBBBABBBBABBB...
output:
NO
result:
ok no solution
Test #136:
score: 0
Accepted
time: 143ms
memory: 725096kb
input:
BAABBBBABABAAAAAAAABBAAABBBABAAAABBAAAABAAABBBABBBBABABABABAABAAAAABBBABBAAAABABABABBBABABBABBABABBABABAAAAABBAABABAAAAABAABABABBBBABBABBBABBAAABAAAAAABBABAAABBBBBBBBBBABAAAAAAABABAABBABAAAABAABAABBBABBBABABAABABABAABBAAABBAABABAABBAABAAAAABBBBAAABBABABABBABBAABABBBABBBBABBABBBBABABBAAAAAABABBBBAABA...
output:
YES 1 4 7 9 11 19 22 24 28 29 34 36 39 41 44 47 52 54 55 57 59 62 68 71 74 77 79 81 82 84 87 89 92 94 96 98 99 101 102 104 109 110 112 113 115 120 122 123 124 125 127 132 135 138 140 141 145 151 153 154 155 159 168 169 171 177 179 181 183 185 187 191 194 197 199 201 203 204 205 206 207 209 211 213 2...
result:
ok good solution
Test #137:
score: 0
Accepted
time: 90ms
memory: 428140kb
input:
BBAAABABAABAAAAABBABABBABABABBAABABBBBAAABABAAABBBABAAAABBBBBBBBAAAABABBABAAAABAABABAAAABBBAABABBAAAABBAABBAAAAAABAABAAAAAAAABAAAAABAAABABAAABBABABBBBBBBAAABBBAABBBBBBABAABAAABBBAABAABBAAAAAABAAABBABBBABAAABBBABAAABBAABBAAAAABBBBBAAAAAABAABBAABABBBBBAAAABAAAAABBAAAAAAAABBBBAAABABAAABAABBBBBAABAAABAB...
output:
NO
result:
ok no solution
Test #138:
score: 0
Accepted
time: 20ms
memory: 147036kb
input:
BBBAAABBBBBBBABBAAABABABBBBAAABABABAAABBABAABBBBAAABBABBABBBBBBABABAAAAABBABBABBBBBAAAAAAABAABBBBBBABBBABBBAAABAABABBAAAABBBAABBAABAABBBBBAAABBABBABBAAAABBBBABBBAABABBBABBBBABBBAABBBAAAABABBAAABAABBAAAAAAABBABBBAABBBBAAABBABABABBBAAAABBBABABAABAABABAAABBBBAABAABABAABBBABBABBABBABBBAABBAAABABABAABBBA...
output:
YES 3 5 6 11 12 13 15 16 17 18 19 20 22 23 27 31 32 34 35 37 38 40 41 42 44 46 47 48 49 50 51 53 55 56 57 59 60 61 62 63 64 65 66 67 72 75 76 77 79 80 81 82 83 86 87 88 89 90 92 93 98 99 101 102 103 104 106 107 108 109 110 112 113 115 117 121 123 124 126 127 128 131 132 133 136 137 138 140 141 142 1...
result:
ok good solution
Test #139:
score: 0
Accepted
time: 47ms
memory: 298256kb
input:
BBBABAAABBABBBAABBAAABBABABBAABABBABBABBABBABBAABAABBAAAAABBABBAABAAAABAAABBAAABAAABAABBABBABBABBAABBAABABABAAAAABAAAAABBBABBABAABABAAAAAABAAAABAABAABBAAABBAABABBAABABBBABAABBBBAABAAAABBBBAABBABABABBBABBBAAABBAABAAABBBABBBABBBBAABAABBAABAABAABBAAABABBBBAABBBABBAABAABBBAAABABBAABAABABAABBAAABABABBBAB...
output:
YES 3 4 6 9 10 11 14 16 18 22 24 25 26 28 30 32 34 36 38 40 41 43 44 47 48 49 51 54 57 58 61 62 63 65 66 69 70 71 73 74 76 80 83 85 86 89 91 93 94 96 97 99 100 101 103 105 106 107 108 113 114 115 116 117 118 119 123 125 127 130 132 138 139 143 145 146 147 148 149 151 153 154 156 158 160 162 165 166 ...
result:
ok good solution
Test #140:
score: 0
Accepted
time: 176ms
memory: 924664kb
input:
AAABABAABBBAABBBABAAABBBAAAABAAAABAABBABBAABBAAAAABBABABAABBBABABBAABAAABAABBBAABBBBAABBBABBAAABAABABABBABABBABABBAABABBABBBBAAABBABBBAAAABAAAABABABAAABAABAABABAABBBAAAABBAAAABAAABABAABAABAAAAABABBBAAAAABABABBAABAABBBAABAABABAABAABAAAAAAAABAABABBBABBBBBABABABABABBBBABBABBBABBAAAABBABABAAABAABBBBBAAA...
output:
YES 3 5 7 8 10 11 13 15 16 18 20 21 23 24 27 28 29 32 33 34 36 38 39 41 43 45 49 50 53 54 55 56 58 60 61 62 64 66 67 68 69 72 74 75 76 77 78 80 82 83 84 86 89 90 91 92 94 95 97 98 99 100 101 102 103 104 106 108 109 110 111 113 114 116 118 120 121 122 123 124 125 128 131 134 138 139 144 145 147 149 1...
result:
ok good solution
Test #141:
score: 0
Accepted
time: 99ms
memory: 521172kb
input:
BAABABABBBABBABBAABBBBBBBAABBAAAABBAABAABABBAABAAAABBABAABBBBAABAAABBBBABABAABABAAABABABAAAAABBAAABBABAAABAABBAABBAAABABABAABAAABABBBBBBBBBABABBABBAAABABBAAAAABBABBBBAAABBBBBBBAABBBBBABABBBBABBBABBAAABBABBBABBBAAAABABBBABAABAABAABAABAABAABAABAABBAAAABBBABAABBAAABABAAABBBBABBBBBAAAABBBAAAABBABABAABAB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102...
result:
ok good solution
Test #142:
score: 0
Accepted
time: 3ms
memory: 11076kb
input:
BBABBBAABBABAABABABABBABABAABBABBABAABBAAAAABAABABAABBBBABBBAAABBABABABBBAAAABAABBABBBBABAAABAABBABABAABAABBABAAABBBABBBAAAAAABBABAAABBBBAAABABBBAAAABBBAABAAAAABBBAABBABBBAABABAAAABBBAABBBBBABBBAABBABAAAABABBABBBBBABABABABABBBAAAAAABAAABABABABAABAAABABBABABAABBABAABAABAAABABAABBBABBBAAABABAAAAABAABA...
output:
NO
result:
ok no solution
Test #143:
score: 0
Accepted
time: 122ms
memory: 714460kb
input:
BABBBBBAAAAAABBBBAABABAABBABBAAAABAAAAAAABBABABAABABBBABBBABBBABAABBABBABABAAABAAABBBBABBBAABAAAAAABBAAAABBBAAABAABAABBAAAAAABABBAAAAAAAAABBBBBBBBBABBBAABBAAAAABABBABAAAABBBBBBBABBBAABBABBBAAAAABBAABBBAAABBAABAABBBAABBBAABABAABABABABAAAAABABBBBBABBAAAAABABAABBBBBBBABABAABABAAABAABBABAAAABBBAAAAAABBB...
output:
YES 1 2 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26 28 29 30 31 32 33 34 37 38 39 40 41 44 45 46 48 49 51 52 53 54 56 57 58 59 60 61 62 64 65 66 67 68 69 70 71 72 73 74 75 77 78 79 81 82 84 85 86 87 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 111 113 114 115 116...
result:
ok good solution
Test #144:
score: 0
Accepted
time: 198ms
memory: 893332kb
input:
BABAABABAAAAAAABBBBAABAAAAABABBABBBAABABBBBBBABBBAAAABBBBBABABABABAAAABBAAAABABBBBABBAABABBAABAABABBAAABAAAABBBBAABBAAABABABBAAABBABABBAAAAAAABABBABBABABBBBBBABABAABAAABABABABAABAAABBBAABBBBBBBABBAABABBAAAABBABAAAABBABAABABAABAABBBBBABAAABAABBABAABBABAAABAABABAAABBAAAAABAAABBABABBABABBABABBBBABBBBBB...
output:
NO
result:
ok no solution
Test #145:
score: 0
Accepted
time: 27ms
memory: 134488kb
input:
ABBAABBBABABBBAAABBBABBABABAABAAAABABBAAAAABBAABAABBBABABBAABAAABABAAABBBAAAAAABBBBABBBAAABABBBBAABABABBBBABBBBBABBBAAABBBBBBAABABBBAABBABABBAAAAABBBAAAAAABAABAABBABBBBABAABABAAABABABAABBBBBAABBBBBAAABAABBBAABAAAAABBBBBBBBBBAAABBAABABAABAAABAABAAAABBBAAAAAABBAABBABAABBAABBBAABBBAAAAAAABBBBABBBBBBABB...
output:
YES 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 45 47 48 49 50 52 53 54 55 56 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 87 90 91 92 93 94 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 1...
result:
ok good solution
Test #146:
score: 0
Accepted
time: 23ms
memory: 186980kb
input:
ABAAAABAABBBBBBAAAAAAAABAAABAAABBAAAAAAAAAABABBBABBBAAAAABBBBAAAAABBAAABBBABAAAAAAABBAABBBABBBBABBABAABBABABABBABBAABBABBABABABAABABBABABBBBBABBBBABABAAABBBBABAABABBBBABBAABBAAAABAAABBBABAAABAABABBAAABBBAAABAABAAABAAABAAAABBAABABABAABBBABAABABBAAAABBABBBAABBAAAAABBAAABABABBAAAABABBBBAABABAAAAABABAAB...
output:
YES 1 3 7 9 12 13 14 15 20 21 22 23 24 27 28 30 31 33 38 39 40 41 42 43 45 46 47 48 49 51 52 54 55 56 57 60 61 65 66 68 71 74 75 76 82 83 86 87 90 91 96 98 100 102 103 104 106 107 108 110 111 113 114 116 118 119 121 123 124 125 127 129 131 134 135 136 141 143 144 145 146 147 148 149 150 152 153 156 ...
result:
ok good solution
Test #147:
score: 0
Accepted
time: 111ms
memory: 801380kb
input:
AAABBBBABBAAAABBAAABBABBAABAAAABAAABBBBBAABABBBBBABBABAAABBBBABBABAAAABAAAABAAABAABAAAAAAABAAAAAAABAABBAABABBABBABABAAAABABAAAAABAAAAAAABAABBBBAAABAABABABAABAABBABBABBBABABABBABABBAABBBAABAABBBABABBABBAAABABBABBBABBAAAABAAAABABBBAAABAABBBABBBABBAABAAAAAABABBBABABAAABABAAAABAABBAAAABBAAABBAABBABBBABA...
output:
YES 2 3 8 9 10 14 15 16 19 20 21 22 24 27 30 31 32 34 35 38 39 40 42 44 49 51 52 54 56 57 60 61 63 64 65 66 70 71 74 75 76 78 79 80 81 82 83 91 95 96 97 98 99 101 104 105 107 110 112 113 114 115 116 121 123 128 129 133 134 135 136 138 139 143 144 145 146 148 149 151 152 154 156 158 159 161 162 164 1...
result:
ok good solution
Test #148:
score: 0
Accepted
time: 171ms
memory: 942768kb
input:
BBBBBAAAABBABBBAABBBAAABBAAABBBAABAAAABBBAAABABBAAAAAAABBBAABBBAABBBBBBABABAABBBABABABAABBABAABBBAABABBBAABAAAAAABBAABABBAABBBABBBBBABBAAABABBBAABBAAABBABBAABBAABBABBAAAABBBBBBBABBBABAAAAAABBBBAABBAABAABBAAABAABAAABABABAABBBABBABABBAABABBBAABAABABBABBBAAABAABABBBABAAAAABBBBBAAABBBABAABAAAABABABBBBBA...
output:
YES 4 5 8 9 11 12 15 18 19 20 23 25 27 28 30 31 34 35 36 37 38 40 41 44 46 47 48 50 51 52 53 54 55 58 60 63 65 71 73 75 76 77 81 82 83 84 86 88 90 92 93 94 97 99 100 101 104 107 113 116 117 119 120 121 123 126 127 131 132 134 135 139 140 143 145 147 149 150 153 155 157 159 161 162 163 165 166 169 17...
result:
ok good solution
Test #149:
score: 0
Accepted
time: 0ms
memory: 52092kb
input:
ABAAAABBBAABBAAAAABBABABAABBBAAAAABBAABBABBAABAAAABABAABBBBBBABABAABABABBABBBAABBABAABBAABBBAABBABBAAABBAABAABABABBAAABAABABBBBBBAAAAABAAAAAABABAAABABABBBABBBBAABABBBBBABABABABABABBBBABBBBBBAAABAABAAAAABBBBAAABBBBABBABBABBAAABABAABBBAAAAABBBBBBBBBAABAABABBABBAAABBBAAAABABBBBBABBBBAABABABAAABBBABABAB...
output:
NO
result:
ok no solution
Test #150:
score: 0
Accepted
time: 220ms
memory: 913960kb
input:
ABABBABAAAAABABBBAAAAABBAAAABAABBBBABBAAAABBBAABBABBAABBAAAAAABBAABBAAAABABABBBBAAAABABABABBABBBBABBBAAABABBAAABABABBBABBBBBBBABBBBAAABBABAABAAABAABBABBBBABBBBABBBBAABBBBAAABBAAAAAABABABAAAAAAABBBBABAAABABBAABBAAABABAABAABBAABBAAAAAABBBABAAABBABAAAABBBBBBBBBAABBABBABABBAAABABAABABAABBBBBBBBBABAAAAAA...
output:
NO
result:
ok no solution
Test #151:
score: 0
Accepted
time: 18ms
memory: 122796kb
input:
BAABAABAABBBAABABBAAAAAABAABBBBBAABAABAABABABABBBBABABBBBABAABABABAABAAAAABBBAAAAABBABBABBBBAAABBBBABABAAAABAAAABBBABAABAABAAABABBABBBBABABAAAABAAAAAAABAAABBBABBBBBBABBAAAAAAAABAAABAABBABABBABBAABAABBABAAAABABBBBABAAABBAAABABBAABBAABAABBABBABAABBBABBABABABAAAABBABABBABAAAABBABAABABBBBAABABABAAAABAAA...
output:
NO
result:
ok no solution
Test #152:
score: 0
Accepted
time: 3ms
memory: 93720kb
input:
BABBABBABABAABBABABBBABABAABBABBABAABBBABBBBBBBBBABBABBAAAABAAAAAABABBABBBBAABBBAABAAAAABBBABBAAABAABAAAABBABBBBABBABAAABAAAAAAAAABBABAAABBBBABBBAAAABAABBBAAAABBAABABBABAABAAABBAAABBBAABBAABABBABBABBABBBAAABABABAAAABBBAABBBAAABBBABBBBABBABAAAABBAAABBBBBBAAABABBBABBAABBBAAABBAABABABBBABBBBAABBBABABBB...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 43 44 45 46 47 48 49 50 51 52 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 77 78 79 80 81 82 83 85 86 87 88 89 90 91 92 94 95 96 97 98 100 101 102 103 104 105 106 107 108 110 1...
result:
ok good solution
Test #153:
score: 0
Accepted
time: 21ms
memory: 103160kb
input:
AAABBABAABAABBAABAABABAABBBABAAABBAABAAABBBBBBABBBBBABABBBABABBAAAAAAAAABBBBAABAAABBBBBBBBBAAABAAAABAABBBBAAAAABBBAABAAABBBAAABBBBBABBAABAAAAAAABBAABAABAABAAABAAABBABABAABBBBAABAABBBAABAABABBAABAABAAABBBBABBBBBBABAAAAAAABBABBBAABABBAAAAAAABBBBBBABABAABAABBAABAAABBABBABABBABABABAAAAABAABABBAABAABBAAA...
output:
YES 3 6 8 9 10 12 14 17 19 21 23 25 28 29 32 35 36 37 41 47 53 54 56 59 60 62 63 73 76 78 79 83 92 94 96 99 100 103 106 108 109 110 111 114 117 121 122 123 125 126 132 135 136 137 144 145 146 148 150 151 152 153 154 155 159 161 162 164 166 168 169 170 174 175 176 177 179 182 185 186 187 189 192 193 ...
result:
ok good solution
Test #154:
score: 0
Accepted
time: 117ms
memory: 450476kb
input:
AAABAAAABABBBABBBABBAAABBABAABBAAABBAAABBABAABBBABBBBBBBBAAABBBAABBBABABAABABAAABBBAAAAABBABAAABBABBBABAAABAAABABBABABBBAAABABAABABAAABABAAAABBAABBABAABBBAABBAABBBBAAABABABAABBBAABBBBAABBBBBABBABBAABBABABAABAABABBBBAAABBAABBABAAAAABBAABAABBBAABAABABAAABBABBABAAAABABABABBABBBBBABBBAABABAAABAABABBBAAB...
output:
YES 3 4 8 10 14 17 19 21 24 26 27 29 31 34 36 39 42 43 46 48 49 57 61 63 66 68 70 71 73 75 76 77 80 84 88 90 91 92 96 98 102 104 107 111 112 114 115 116 118 121 123 124 125 126 128 129 131 134 135 136 137 141 144 145 147 148 149 152 155 156 159 161 164 166 167 168 169 171 172 174 176 177 179 182 183...
result:
ok good solution
Test #155:
score: 0
Accepted
time: 84ms
memory: 430028kb
input:
ABBBABABAAABBAABABBAAABAAAAABABBBBBABAAABBBBBBABAABAAAAABBABAAAABBBBBBABBBAAABABBAAAABAABBABBABABBAAABAAAAAABBBBAAABBBABBBAABABABBABAAABBAAAABBABAABBAAABABBBABAABAAAAAABBABBBABBABBAAABABABAAABBAAAAAABBABABAABBAAAABAABAABABBAAAABBBABBBABAABBBBBBBBBBABABBBBABBBABABABBBBBABBBBABBAAAAAABBABBBBBBAABBAABB...
output:
YES 2 4 6 8 11 14 15 17 20 22 24 28 30 35 37 41 47 48 51 56 58 60 64 71 74 78 80 82 85 86 89 91 93 94 96 98 101 103 108 112 116 118 119 122 124 125 126 128 130 131 133 136 138 142 144 146 148 149 152 154 158 159 162 168 171 174 175 177 178 180 184 186 187 189 192 194 199 201 203 205 208 210 214 217 ...
result:
ok good solution
Test #156:
score: 0
Accepted
time: 48ms
memory: 313436kb
input:
AABAABBAAAABBBABBABBBAABBBBBAABBBBAAABAABABBAABBBBBAAAABBAAAABBABBAABBABABBBBBABABBABBABABBBBBBBABBAABBBBABBAABABAABAABAABAAAAABBBBAAAAAAAAABAAAAAAAABBAAAAAABAABBAABBBAABAABBBABBBBABBABABAABBAAABABAABBAABBAAABAABBABBABAAABBBBAABBBBBBAABABAAAAABABABAABBAABBAABABAABABABBBBBABAAAAABAABBABBBBAABAABAABAA...
output:
NO
result:
ok no solution
Test #157:
score: 0
Accepted
time: 136ms
memory: 789460kb
input:
ABABAAABABAABBBABBABBAABBABBAABABAABABAABAABBBAAAAABBABAAAABAAAABBAABBABBBAABBAAAABAABBABBABAAAAABBBBBBABABAAAABBABABAAABAABABABBAABBAAAABBAAABABBAAABAABAABAABBBAABBBABBABBBABBBBABBAAABBBABAABABBABBAABBBBBAABBBAAAAABBBBBBBBAAABBBBAAAAABBAABAAABAAAABBBBBBBBBAAABBBBBABBABBABBABBAABAAABAABBABBBBABBABBA...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 99 100 101 102 10...
result:
ok good solution
Test #158:
score: 0
Accepted
time: 149ms
memory: 739168kb
input:
ABABAAAABBABABAAAABBBABAABAABBAABBAAABBABBAABBAAABBBAAAAAABBBABAAAABABABAAABBABBBABAABBBBBABBBBBBABABBBAABBABAAABABBABAAAABABBAABAAAABBABBBBBABBBBABAABAABBABBAAABBBBABBBABAABBABBBBBBBBABABABBABBABBBABBABAAAABABABBBBABBBAABAABBBAABABABABAAAAABABAABBBABABABBBAAAABBAAAAABBABBBBABBABBBBBBBBBABAABABBBBAA...
output:
YES 1 3 4 9 11 12 14 18 21 22 24 26 28 30 32 35 37 40 42 44 46 49 53 58 61 62 64 67 68 69 70 72 76 78 82 83 86 90 91 97 99 101 103 106 107 109 113 114 117 118 123 124 126 128 130 133 135 137 141 143 147 148 150 151 153 155 156 158 162 165 167 169 171 174 175 177 184 185 186 187 189 191 192 194 196 1...
result:
ok good solution
Test #159:
score: 0
Accepted
time: 36ms
memory: 268184kb
input:
AAAABABBBBAABABAAAABAABBBBABBBABBABABABABBBABBBABBABBAAABBBAABBBABAAABABABBAAAAAAAABAAABBBBAAAAAAAABABAAAABAABBABAAABBAAABABAABBBABBBBABABBBABABAABBBBBBBBAAABBAAABBAABABBAABAAABBABBABAABAABBAAABBBBAABABBBBABBAAAAABAABABBBBBAAAABABBABBAABAABBBAAAABBBABBAAAABBBAABBBBBABBBAAAAABAAAAABAABAABBBAAAABBABAB...
output:
YES 4 6 11 12 13 14 15 19 21 22 26 27 29 30 31 33 35 37 38 39 40 42 43 44 46 47 48 50 52 53 57 58 59 61 64 65 66 69 71 72 73 75 78 79 80 81 82 83 84 87 90 91 94 95 96 97 98 99 101 102 104 105 106 107 109 111 112 113 115 116 117 118 120 121 122 124 125 126 129 131 132 133 134 136 137 139 140 141 142 ...
result:
ok good solution
Test #160:
score: 0
Accepted
time: 99ms
memory: 444908kb
input:
BBAAABBBABBBBAAAABAAABBBABBABABBABBABAABAABBAABAABBBBBBBBAAABABAABABAABAABBBBBAAABBBAABBABBABABBAABAABAAABBABAAAABABAABABAABAAAABAAABBABBBABBBABBBBABBBBAAAAAAAABAABABAABBABBAAABBBBBABBBABABAAABBAAAAABBABAABABBBAAAABAABAAAABAABAABBAAAAABBBBBABABABBAAAAAAABAAABAAAAABBABAAAAAAABBBAABBAAAABAAAAAABAABABA...
output:
YES 1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 60 61 63 64 65 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 94 95 96 97 98 99 100 101 102 103 104 105 1...
result:
ok good solution
Test #161:
score: 0
Accepted
time: 95ms
memory: 527252kb
input:
ABBBAAAABBAAAAABBBABBBBBABBBBAABBABABAAAABAABBBBBBABABAABBBBBBBAABAAABAAAABBABABABBBABBBABBABABABABABABAAAABBAABABBABBBAAAABBAAAABBAAAAAAABBAAAAABBBBABBBABBABBBBBAABAAAAAABABBABABBAABAABAABABABAABAABABABABBBBBBAABAAAABABBABABBABABBAAAABABAAAABABBBAABAAABBABAAABAABABABBABBBBAAABBBABAABABBAAABABBAABAB...
output:
NO
result:
ok no solution
Test #162:
score: 0
Accepted
time: 24ms
memory: 229972kb
input:
AABAABBABABBBAABBABAABABBBBBBAABABBABBBBBBBAABBBAAAABBAABABAABABAAAABBBAABABABABBBBBBBBAAAAABBAAABBBBBAABBBAAAABABBAABAAAAAABABBAABABBBBBBBAABAAABAABBABBBAABABBABBAABBBAAABAAAAAABAAAAAAAABAABABABBBBABAABAAABAABBAABABBAABBBBBABAAABBBBBAAABBBABBABBAABBAABBBBBAAABABAABBBAABABBABAAAABBBBBAABABAABABAABBA...
output:
NO
result:
ok no solution
Test #163:
score: 0
Accepted
time: 110ms
memory: 410212kb
input:
ABBAABABAAABBAAAABABAAABAAAAAAABAABABAAAAAABABBAAAABAABAABAAAABBBBAAAABBAAABABBABBBABBBABABBAABAABBAAAABBBAAAAABAABAAAABBBAABBABBABBBBBBAABBABABABAAAABABBBBBAABBBBBBBAAAAAABABBBBBBBBABBABBAABBBBBBAABABBBBBBBBBBABABBBBAABBBABABABBBBBBBABBABBABBBAAABAAABAAAABAAABAABBBAABABABABBBBAABABBBABAABABAAAABABA...
output:
YES 1 4 5 6 7 9 12 14 16 17 19 21 22 23 24 28 29 30 31 32 34 36 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 61 62 64 65 66 68 69 70 71 72 75 77 79 81 82 83 85 86 87 89 90 91 92 94 95 97 98 99 102 103 105 106 109 110 111 112 113 114 115 118 119 122 123 124 126 127 128 129 130 133 134 ...
result:
ok good solution
Test #164:
score: 0
Accepted
time: 188ms
memory: 838084kb
input:
BBAABABAAAAABBAAAABABAAAAAAAABAAABBABAABBBABBABABBBABABBABBAABBBABBABBBBBABABBAAABAABABBAABAAABBBABBAABAAABABBBABBBBAABBAABBBBBABBBBABBBAABBABABABABAAABBAABABBABAABABBAAABABAAABABBBBAAAAAABABAABBBBABBABAAABBAABBABAAAAABABBABBBAAABBBABBBAAABBBAABAAABBABAABBABAAABBBBBBBBBABAAABAAAABBAAABAABBBBBAABABAB...
output:
YES 1 2 3 4 6 7 8 9 10 11 12 14 17 18 19 20 21 24 25 26 27 28 29 31 32 33 35 37 39 43 45 46 48 51 53 54 56 57 58 59 61 65 67 68 69 70 71 72 73 74 75 76 77 78 81 82 83 84 85 86 87 88 89 90 91 94 97 99 100 102 103 105 106 107 108 112 113 114 115 116 117 118 120 121 122 124 125 126 127 128 131 132 133 ...
result:
ok good solution
Test #165:
score: 0
Accepted
time: 120ms
memory: 553496kb
input:
AAABBABBABAAAAABABAAAABBAABAAABBBBAAAAAABABBAAABBBBBBBBABBABBABBBAAAAABABAAABAABBBBAABBABABBAABBBBAABBAABBAABBABAAABBBABBAABBABBBABBBBAAABBABBAABAABABABBBBBBBAAABBAAABABABBBBAAABBAAAAABAABBBBAAABABBABAABBBABABABBABAAAABABAABBBABBABBBBAABBABAAAAABABABAABABAABBABBBBAAABABBBBBBAABAAAAAAAABABAABABBBBBAB...
output:
YES 3 5 7 9 11 15 16 17 19 23 24 26 28 31 34 41 42 45 47 55 56 58 60 61 63 65 70 71 72 74 77 79 83 85 87 88 89 91 93 95 99 101 103 105 106 109 111 112 116 118 119 122 124 126 130 134 138 140 142 145 148 150 152 159 161 163 166 167 169 170 175 177 180 184 185 187 191 194 196 199 200 202 205 207 209 2...
result:
ok good solution
Test #166:
score: 0
Accepted
time: 0ms
memory: 58588kb
input:
BBABABABAAAAABABBBBAAABBBAABABBABBBBAAABAAABBAABBAABAABBAABAABBAABABBBAABABBABABABBAAAAAAABBAABBABBAAABAABAABBABBBABBABAABBBABAAABABBBBAAABBBABAAABBBBABBABABBAABBBAAAAABBABBAABBABBBABBABBBBBAAABABAAAABABAABABAAAABBBBAABBAAABABBAABBAABABBBABBBAABAABBBABABBABBBAAABBBBABBBBBAAAABAAABBAABBAAAAAABABBABBA...
output:
YES 2 3 4 5 6 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 34 35 36 38 39 40 42 43 44 45 47 48 49 51 52 53 54 55 56 57 58 59 60 61 63 64 65 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 90 92 94 95 96 97 98 99 100 101 102 103 104 105 106 108 109 110 111 113 114...
result:
ok good solution
Test #167:
score: 0
Accepted
time: 125ms
memory: 534436kb
input:
ABABBBABAABABBBAAABBABBBABBAAABAAAAABABABABBBABAAABBBBABAAABBAAAABBABBABBBBAABBABAABBABBABBBABAAAAAAAABAABABAABABBBABABABBBBAAAAABBABBBABBBAAAAAABABBAAAABBAABBBBABAAABAABAAAABAABABBABBABBBBAAABAABBABBBBABABBABBAABBABABAABABABAAABABABABABABBABABBBBABAAABABAABABBBBBBABABABBAAABAAABAAABABBAABAAAABAABAA...
output:
YES 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 29 30 31 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 67 68 69 70 71 73 74 75 77 78 79 80 81 82 83 85 86 87 88 89 91 92 93 94 97 98 99 100 101 102 103 104 105 106 107 108 109 1...
result:
ok good solution
Test #168:
score: 0
Accepted
time: 60ms
memory: 358484kb
input:
BAABAAAABBBBBBBBBABBABAAABAAAAABBABBBBAABABBBABBBBBBBABBABAAABAABBABBAAABBABABBBABABAABBBBBAAAAABABBAABBABBBBBABBBBBBBBBAAAABBABBBBBAABBBAABAABBABBABBBABABBBBABAAAABBBBAAAAAABBAABAABAABABBBAAAAABAABAAAAAAABBAABAAABAABABAABBBBBABBAAABBBAAAABABBBBBAAAABBBAABBABAABAAAAAABBBBBAAAABAAAAAABBABBABBABBBBBBA...
output:
YES 1 3 4 6 7 8 13 14 15 16 17 18 20 21 23 24 25 26 30 31 34 38 41 42 44 45 46 51 52 53 54 56 58 62 64 67 69 70 71 72 73 74 75 76 77 78 79 80 81 83 85 86 89 90 91 92 93 94 95 96 97 98 100 102 105 109 110 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 132 135 136 137 139 140 141 142 ...
result:
ok good solution
Test #169:
score: 0
Accepted
time: 115ms
memory: 688132kb
input:
BAABAAAAABBBBABAAABBABBABAAAABBAABBBBAABABBAABBAABABABAABAABBABABBBBBBABABBBBBABBAAAABBAAAAABABBBBBAAABBABABAABAABAABABAAABABBABABAABBAABBABBAABBBAABBBAABABBBAABBBBBBABBABBBAABBBAAABBBBAAABBBABABBAAAABAAABBBBABBABBBAAAAABABAAABAABABBAAABAABABBBAABAABBAAABBBABABABABABAAAAAAAABBBBABABBBBAAAABAABAABAAA...
output:
YES 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105...
result:
ok good solution
Test #170:
score: 0
Accepted
time: 46ms
memory: 229804kb
input:
AAABABABBAABBBBBBBAAABBABABAAABABAABAABAAAAABBABBBBABBBAABAABABBAAAAABABABAAABAAAAABBBAABAAAABABABBBAABBAAAAAAAABBABBAABBBBBBBABABAABABBBABAABBAABBBBBBAAAABAAABAAABBAABBBABAAAABBBAABBBABABBBAABBAABBAAABBBABBBAABBAAABBAABAAAAABAABBBAAAAABBAAAAAAABABBBBBBAABBBBABAABBBBAAAABABABBAABBABABBBAABBABABBBAAA...
output:
YES 3 5 7 9 12 18 22 23 25 27 31 32 34 35 36 39 44 46 47 52 55 58 61 63 64 70 72 73 75 78 84 87 88 89 93 94 95 97 100 102 105 113 115 117 119 127 129 131 132 133 135 137 139 142 143 145 152 155 156 160 164 166 168 170 172 177 180 181 184 186 188 191 192 194 196 198 201 204 205 209 210 213 216 218 22...
result:
ok good solution
Test #171:
score: 0
Accepted
time: 11ms
memory: 80684kb
input:
ABAAAABABBABBBABABBABAAAAABAABABBBABBBBAAABBBBAAABBBBABBBAAABABBBAAABABABBBBBBAAAAABAABBAAAABAAAAABBABBBAAAAAABBAABAABABAABBBAABBABBAAABBBABAAABABABBABAABBBAAAABAAAABBBABAABBABBABBABABBAAAABBAABABBBAAABBAABABBBABBBAABABBBABAAABBBABBAABAAABABBBBAABAABABAAABAAABAABAAAABABBABBBBBBABBAABBBAAAAABBAAABBAA...
output:
NO
result:
ok no solution
Test #172:
score: 0
Accepted
time: 96ms
memory: 559672kb
input:
ABBBAABAAAABBBABAAAABBAABABABBABBBBBABABABAABBBAABBAAAABBAAAAAABBABBABBBBABBBBAAABAABBBBBBAABABBBBAAABAAAABAABBAAAAABBAABABABBBAAABBABBABAABBABABBBBBABAABBBBBABBBABABABAABBABBABAAAAABAABABABAAAAABBABBABAABBAABBBABABBAAAAAABABABBBAABBAABAAABABAAAAAAABBBAABABBBAABBBBBBBAABBABAAAAABABBABAAABBAABAAABAAA...
output:
NO
result:
ok no solution
Test #173:
score: -100
Wrong Answer
time: 1ms
memory: 5592kb
input:
ABABBAAABAABBAAAABABBABBAAAABABBBABBABBBBBBABBBAAAAAAAABABBAABBBBABBAABAAAABAABBABBAABABAAABBBBBBAAAABAAAABABABBAABBAAABBBBAABBAAABBAAABABBAAABABAAABBBAAAAABABBABBABAAAABABAABBAAAABBBBABBABABABABBAABABBAAAABABABAAABABBABABAABBBAABBABAABBABBAABBABBABABABABBBBABABAABABBAABABAABBBAABBAABABBBBBAABABBAAB...
output:
NO
result:
wrong answer you didn't find a solution but jury did