QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#544881#2163. Gene FoldingLittleCubeAC ✓112ms55832kbC++171.3kb2024-09-02 20:45:062024-09-02 20:45:09

Judging History

你现在查看的是最新测评结果

  • [2024-09-02 20:45:09]
  • 评测
  • 测评结果:AC
  • 用时:112ms
  • 内存:55832kb
  • [2024-09-02 20:45:06]
  • 提交

answer

#include <bits/stdc++.h>
#define ll long long
#define pii pair<int, int>
#define pll pair<ll, ll>
#define F first
#define S second
#define all(x) x.begin(), x.end()

using namespace std;

int man[8000006];
void manacher(string s)
{
    string t;
    for (int i = 0; i < (int)s.size(); i++)
    {
        t.push_back('$');
        t.push_back(s[i]);
    }
    t.push_back('$');
    int mx = 1;
    for (int i = 0; i < t.size(); i++)
    {
        man[i] = 1;
        man[i] = min(man[mx] + mx - i, man[2 * mx - i]);
        while (man[i] + i < t.size() && i - man[i] >= 0 && t[i + man[i]] == t[i - man[i]])
            man[i]++;
        if (i + man[i] > mx + man[mx]) mx = i;
    }
}

signed main()
{
    ios::sync_with_stdio(0);
    cin.tie(0), cout.tie(0);
    string s;
    cin >> s;
    int n = s.size();
    manacher(s);

    int l = 0, r = n - 1;
    for (int i = l; i < r; i++)
    {
        int len = (man[2 * i + 2]) / 2;
        if (len == 0) continue;
        if (i - l + 1 <= len && i + len <= r)
            l = i + 1;
    }
    for (int i = r - 1; i >= l; i--)
    {
        int len = (man[2 * i + 2]) / 2;
        if (len == 0) continue;
        if (l <= i - len + 1 && i + len >= r)
            r = i;
    }
    cout << r - l + 1 << '\n';
}

詳細信息

Test #1:

score: 100
Accepted
time: 8ms
memory: 10228kb

input:

AGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGGTTGTGGTTGG...

output:

524290

result:

ok single line: '524290'

Test #2:

score: 0
Accepted
time: 62ms
memory: 54228kb

input:

AGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTAAGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTGTTGTGGTTGGTGTTGGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTAAGTTGTGGTTGGTGTTGTGGTGTTGGTTGTGGTTGGTGTT...

output:

1999790

result:

ok single line: '1999790'

Test #3:

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

input:

C

output:

1

result:

ok single line: '1'

Test #4:

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

input:

CCTCC

output:

3

result:

ok single line: '3'

Test #5:

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

input:

CCTCCCGGTC

output:

9

result:

ok single line: '9'

Test #6:

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

input:

CCCCCCCCCCC

output:

1

result:

ok single line: '1'

Test #7:

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

input:

CCTTCCCCTTCC

output:

2

result:

ok single line: '2'

Test #8:

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

input:

CCTTCCCCTTCCC

output:

2

result:

ok single line: '2'

Test #9:

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

input:

CCCTTCTTCTTCTT

output:

3

result:

ok single line: '3'

Test #10:

score: 0
Accepted
time: 77ms
memory: 54076kb

input:

GTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGT...

output:

1333400

result:

ok single line: '1333400'

Test #11:

score: 0
Accepted
time: 77ms
memory: 54408kb

input:

GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...

output:

32764

result:

ok single line: '32764'

Test #12:

score: 0
Accepted
time: 78ms
memory: 55832kb

input:

GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...

output:

32768

result:

ok single line: '32768'

Test #13:

score: 0
Accepted
time: 74ms
memory: 54456kb

input:

CCGAAGCGCCCACCGTGTTGGAATCCGGTAGGACAGAAGACGGTAGGGAACGTAGGATTCACCAAAAGTTGCGTGGTTTAACTTGGAAGGTTCAATTTGGTGCGTTGAAAACCACTTAGGATGCAAGGGATGGCAGAAGACAGGATGGCCTAAGGTTGTGCCACCCGCGAAGCCTGATTTCACGCGATCGCAGAGCGGTCTGAATCTTAACGCCCATACAATAACCTACGTACGTGAGCGCAAGTCCAAATCAGATGATCGTCACTGCCGCTCTGCTGCCCTAGATAGTTCATGTGCGCA...

output:

32768

result:

ok single line: '32768'

Test #14:

score: 0
Accepted
time: 70ms
memory: 55448kb

input:

TAAAAAATTTTAAAAAATTAATTTTAATTAAAATTAATTTTAATTAAAAAAAATTAATTAATTAATTAATTAATTTTAATTAATTAATTAATTAATTAAAAAAAATTAATTTTAATTAAAATTAATTTTAATTAAAAAAAATTAATTAATTAATTAATTAATTTTAATTAATTAATTAATTAATTAAAAAAAATTAATTTTAATTAAAAAAAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAATTAAAAAAAATTAATTAAAATTA...

output:

41566

result:

ok single line: '41566'

Test #15:

score: 0
Accepted
time: 84ms
memory: 54888kb

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

3900000

result:

ok single line: '3900000'

Test #16:

score: 0
Accepted
time: 68ms
memory: 54692kb

input:

AGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAGAG...

output:

4000000

result:

ok single line: '4000000'

Test #17:

score: 0
Accepted
time: 57ms
memory: 54840kb

input:

GTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...

output:

4000000

result:

ok single line: '4000000'

Test #18:

score: 0
Accepted
time: 68ms
memory: 54448kb

input:

GTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGT...

output:

4000000

result:

ok single line: '4000000'

Test #19:

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

input:

CCCCGGTTCGAAAAAAAAGCTTGGCAACGGGGCAACGGGGCAACGGTTGGCAACGGGGCAACGGGGCAACGGTTCGAAAAGCTTGGCAACGGTTCGGCTTGGCAACGGTTCGGCTTGGCAACGGTTCGGCTTGGCAACGGTTCGAAAAGCCGAAAAGCTTGGCAACCAACGGTTCGAAAAAAGCTTGGCAAAACGGTTCG

output:

9

result:

ok single line: '9'

Test #20:

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

input:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCAACCCCCCCCCCAACCCTTTTCCCAACCCTTCGGCTTCCCAGCCCCCCGACCAGCCCCCCGGCCCCGGCCCCCCGAAGCCCCCCCCCCCCGAAGCCCCGAAGCCCCCCCCGAAGCCCCCCCCGAAGGGGAAGGGGAAGCCCCCCGAAAAGCCCC

output:

10

result:

ok single line: '10'

Test #21:

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

input:

CCAGCCCCCCGACCGGCCAGCCGAAGCCGACCGGGGCCCCGGGGCCAGCCGAAGCCGACCGGCCAGCCCCGACCGGCCAGCCGAAGCCGACCGGGGCCAGCCGAAGCCGACCGGCCAGCCGGCCGACCGGCCAGCCGAAGCCGACCGGCCAGCCGACCGCGACCCCAGGGGACCCCAGCGCCAGCCGACCGGCCAGCCGGCCGACCGGCCCCGGCCAGCCGGCCGACCAGCCGGCCGACCGGCCCCGGCC

output:

10

result:

ok single line: '10'

Test #22:

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

input:

GGGGCCGTTGCTTTTCGTTGCCGGCCGTTGCTTCGGCTTCCTTCGGCTTCGTTGCCGGCCGTTGCTTCGGCTTCGTTGCCGTTGGTTGCCGTTGCTTCGGCTTCGTTGCCGTTGCCGTTGCTTCGTTGCCGTTGCTGCCCATTCAAAAAGGGGGGAAAAACTTACCCGTCGTTGCCCCGGCCCCGTTGCCGTTGCCCCGGCCCCGTTGCTGCCCAACCCGTCGTTGCCCCGGCCCCGTTGCCGTTTTTTT

output:

18

result:

ok single line: '18'

Test #23:

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

input:

CTAAAAAATCCTAAAAAATCTGTTGTCTAAAAAATCCTAAAAAATCTGTCAAAACTGTCTTCTGTCAAAACTGTCTAAAAAATCTGTCAAAACTGTCTAAAATGCAACGGCAACGTAAAATCTGTCAAAACTGTCTAAAATGCAACGCAAAGCCGAAACGCAACGTAAAATCTGTCAACTGTCTAAAATGCAACCAACGTAAAATCTGTCAACTGTCTAAAATTAAAATCTGTCAACTGTCTAAAATGGT

output:

24

result:

ok single line: '24'

Test #24:

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

input:

CCAAAACCAACCAAGGTGTACAACATGTGGAACGGGGCAAGGTGTACAACATGTGGAACGGGGCAAGGTGTACAACATGTGGAACGGCAAGGTGTACAAGAATATTATAAAATATTATAAGAACATGTGGAACGTACGCGAACGTAGAGACAGATTAGACAGAGATGCAAGCGCCGCGAACGTAGAGACAGATTAGAAGATTAGACCAGATTAGAAGATTAGACAGGACAGATTAGAAGAAGAAGATTTT

output:

40

result:

ok single line: '40'

Test #25:

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

input:

TTTTCTTGGGAAGGAAGGGTTCTTTTTTCTTGGGAAGGGTTCTTTTCTTGGGATCCTGGGCCCCGGGTCCTAGGGTTCTTGATCTGTGTGCAGGGATACACTTGCCATTCGATTTGTCACACCAGGTTTGACCCCATATCTTTTCTATACCCCAGTTTGGACCAACCCCAACCAGGTTTGACCCCATTACCCCAGTTTGGACCAACCAGGTTTGACCCCATTAATTACCCCAGTTTGGACCAACCAGGAA

output:

78

result:

ok single line: '78'

Test #26:

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

input:

GGACGTTTTGCAGTGGTCCGTACCATGCCTGGTGACGTTGTACCCTAACGTCCTACCATCCTGCAATCCCATGTTGCAGTGGTCCGTACCATGCCTGGTGACGTTGTACCCTAACGTCCTACCACAATCTTCGCTATACTACTTTCACCGGGCAGTATGTAAAGGAAATGTATGACGGGCCACTTTCATCAACTACTTTCAACTTTCATCAACTACTTTCACCGGGCAGTAATGACGGGCCACTTTCAAC

output:

75

result:

ok single line: '75'

Test #27:

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

input:

CCGCTAGGAATAACTAAACAATCAATTCGGCTTAACTAACAAATCAATAAGGATCGCACTGCCGTCACGCTAGGAATAACTAAACAATCAATTCGGAACATCTGGCATCCTCCCGTACGATGTCTAGGGTGTTAGCCGTCCCACCCAACTGCATTGGCAGAAAAGACGGTTACGTCAACCCACCCTGCCGATTGTGGGATCTGTAGCATGCCCTCCTACGGTCTACAAGGCTTAACTAACAAATCAATAA

output:

99

result:

ok single line: '99'

Test #28:

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

input:

GGGCATCCTTCCTACGGGGCATCTCCCCTCTACGTGTATAGGGCCAAAACCGGGATATGTGCATCTCCCCTCTACGTGTATAGGGCCAAGACTGCCGTCAGAACCGGGATATGTGCATCTCCGCTACCCCGTCCGAATTGATTACTTGTATGATGGTAGTATGTTCATTAGTTAAGCCTGCCCCATCGCCTCTACGTGTATAGGGCCAAGACTGCCGTCAGAAAAGACTGCCGTCAGAACCGGCCAAGAC

output:

60

result:

ok single line: '60'

Test #29:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACCAACCAAAACCAACCAAAAAAAACCCCAAAACCAAAACCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

output:

2

result:

ok single line: '2'

Test #30:

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

input:

GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGAAAAAAGGGGGGGGGGGGAAAAAAAAGGGGGGGGGGGGGGAAAAGGGGAAAAGGGGGGGGGGAAGGGGGGAAGGGGGGGGAAGGGGGGAAGGGGAAGGGGGGAAGGGGGGAAGGGGGGAAGGGGGGGGGGGGGGGGAAGGGGGGAAGGGGGGGGGGGGGGGGGGGGGGAAGGGGGGGGAAGGAAGGGGGGGGAAGGAAGGAAGGGGG

output:

2

result:

ok single line: '2'

Test #31:

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

input:

TGCCGTTGGTTGGTTGCGGGGGGGGGGGGGGGGCGTTGGTTGGTTGCGGGGGGGGGGGGGGCCGGGGGGGGGGGGGGCGTTGGTTGCGGGGGGGGCGTTGCCGTTGCGGCGGGGCGGCGTTGCCGTTGCGGGGCGTTGCCGTTGCGGCGGCGGCGGCGGCGTTGCCGTTGCGGCGTTGCGGCGTTGCGGCGTTGCCGTTGCGGCCGGCGTTGCCCCGTTGCGGGGCGGCGGGGCCCCCCGGGGCGGCGGG

output:

4

result:

ok single line: '4'

Test #32:

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

input:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCACGGCCGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG

output:

4

result:

ok single line: '4'

Test #33:

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

input:

GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGTTGGTTGGGGTTGGGGTTTTTTTTGGGGTTTTTTGGTTTTGGTTTTGGTTGGGGTTGAAGGGGAAGTTGACGGCAGTTGACGATTAGCCGGCCGGGGCCGGCCGGCCGGCCCCGGCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

output:

7

result:

ok single line: '7'

Test #34:

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

input:

AAAAAAAAAAAAGGGGAAAAGGGGAAAAAAGGGGAAAAGGAAGTTTTTTTTGAAGGAAGTTTTGAAGTTTTGAAGTGGTTGGGGTTGGTGAAGTTGAAGTGGTTGGGGTTGGTGAAGTGGTGAAGTGGTGAAGTGGGGTGAAGTGGTGGTGGTGAAGTGGGGGGGGGGTGAAAAGTGGGGTGAAAAGGAAAAGTGGTGGTGGGGTGGTGGTGAAAAGTGGTGGGGTGGTGAAGTGGGGGGGGGGGGGGTT

output:

4

result:

ok single line: '4'

Test #35:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGGGGGGAAAAAAGGGGAAAAGGGGGGAAAAGGGGGGGGAAAAGGAAAAGGGGAAAAGGAAGGAAGGAATTAGGATTAAGAGGGGGGAGAAGAAGAAAAGAAGGAAGAAAAGAAGGGGAAGAAAAGGAAAAGAAGAAAAGGGGAAAAGGAAAAGGGGGGAAAAGGGGAAAAGG

output:

9

result:

ok single line: '9'

Test #36:

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

input:

TGCCGGCCGTTGCGTTGCGTTGCCGTTGCCGTTGCCGTTGCGTTTTGCGGCGTTTTGCGTTGCGTTCGAACCAAGCTTGCGTTGCGTTTTGCGTTGCGTTCGAACTTCAAGCTTGCGGCGTTCGAACTTCAACCAACTTCAAGCTTGCCGTTCGAACTTCAACCAACTTTTCAACCAACTTCAAGCTTGCCCCGTTCGAACCAAGCTTGCCCCCCGTTCGAACCAAGCTTTTCGAACCAAGCTTGCCCCC

output:

12

result:

ok single line: '12'

Test #37:

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

input:

GGGGCCGAAGCCGCTTCGCCGACGTCCTGCAACGTCCTGCAGCCGCTGAAGTCCTTCCTGAAGTCGCCGACGTCCTGCAACGTCCTGCAGCCGCTGGTCGCCGACGTTGCAACGTTGCAGCCGCTGGTCGCCGACGTCCTGCAACGTCCTGCAGCCGCTGAAGTCCTGAAGTCGGCTGAAGTCCTGAAGTCGCCGACGTCCTGCAACGTCCTGCAGCCGCTGGTCGGCTGGTCGCCGACGTCCTGCAACGTCCTGCAGCCGCTGAAGTCCTGAAGTCGGCTGAAGTCCTGAAGTCGCCGA...

output:

13

result:

ok single line: '13'

Test #38:

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

input:

TTTTTCATACTTCATACTTCATACTGGCTCCTTCCTCGGTCCTGGCTCCTTCCTCGGTCATACTTCATACTTCATACTTCATACTGGCTCCTCGGTCATACTTCCTTCATACTGGCTCCTCGGTCATACTTCATACTTCATACTTCATACTGGCTCCTTCCTCGGTCATACTTCATACTTCATACTTCATACTGGCTCCTCGGTCATACTTCATACTTCATACTTCATACTGGCTCCTCGGTCATACTTCATACTTCATACTTCATTACTTCATACTTCATACTTCATACTGGCTCCTCG...

output:

12

result:

ok single line: '12'

Test #39:

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

input:

ATTAGGATTAGAAAAAAGATTAGGATTAGAAAAAAGATTAGGATTAATTTTAATTAGGATTAGAAAAAAGATTAGGATTAGAAAAAAGATTAGGATTAATTAGGGGATTAATTAGGATTAGGGGATTAGGATTAATTAGGGGATTAATTAGGATTAGAAAAGATTAGGATTAATTAGGGGATTTTAGGGGATTAATTAATTAGGGGATTTTAGGGGATTAATTAGGATTAGAAAAGATTAGGATTAATTAGGGGATTAATTAGGATTAGGGGATTAGGATTAATTAGGGGATTAATTAGG...

output:

4

result:

ok single line: '4'

Test #40:

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

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

4

result:

ok single line: '4'

Test #41:

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

input:

GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...

output:

3

result:

ok single line: '3'

Test #42:

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

input:

TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...

output:

1

result:

ok single line: '1'

Test #43:

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

input:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...

output:

2

result:

ok single line: '2'

Test #44:

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

input:

GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...

output:

2

result:

ok single line: '2'

Test #45:

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

input:

CCGCCGCCCCGCCGCCCTTTTCCCGCCGCCCTTCCCGCGTATCCTATGCGCCCTTCCCGCCGCCCTTCCCGCGTATCGCCGCTATGCGCCCCCCGCGTATCGCCGCTATGCGCCCTTCCCGCGTATCGCCGCTATGCGCCCTTTTCCCGCGTATCGCCGCTATGCGCCCTTCCCGCGTATCGCCGCTATGCGCCCCCCGCGTATCGCCGCTATGCGCCCTTCCCGCGTATTATGCGCCCTTCCCGCGTATCGCCGCTATGCGCCCCCCGCGTATCGCCGCTATGCGCCCTTCCCGCGTAT...

output:

55

result:

ok single line: '55'

Test #46:

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

input:

CCTTCATTACTATTATCATTACTATGCGCGTGGTCGTTCGAAGGGGGGAAGCTTGCTGGTGCGCGTATCATAGACGTTGCAGAAGACGTTGCAGATACTATGCGCGTGGTCGTTCGAAGGGGAAGCTTGCCGTTCGAAGGGGAAGCTTGCTGGTGCGCGTATCATAGACGTTGCAGATACTATGCGCGTGGTCGGCTGGTGCGCGTATCATAGACGTTGCAGATACTATGCGCGTGGTCGTTCGAAGGAAGCTTGCTGGTGCGCGTATCATAGACGTTGCAGATACTATGCGCGTGGTCG...

output:

122

result:

ok single line: '122'

Test #47:

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

input:

AGTCGTGGAGCTTTTGGGCATACTCTGCTGTCGGACACACCCAGATTAGGTTAAACGAAAATAGGGGATAAAAGCAAATTGGATTAGACCCACACAGGCTGTCGTCTCATACGGGTTTTCGAGGTGCTGAGAGCCTAATGCTCTGCGGTGAGCACGCAATGTGAGTCGCATTAGCCTGCTCACGCCGCACTGCCGCTAATCTATGCCAAGGCAGTACGGAGAGCGTGGAGTCCCTACCACCAATTTTTATGAAAAAAGCGCAATACATTTTGTGAAGGCCGGTTCTACAGGGTCAATTAT...

output:

525

result:

ok single line: '525'

Test #48:

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

input:

TGGTCCCCTGGTAGTCCTGATGGGGTAGGATGGGGTAGTCCTGATGGTCCCCTGGTCCCCTGGTAGTCCTGATGGGGGGGGTAGTCCTGATGGTCCCCTGGGGTCCCCTGGTAGTCCTGATGGGGGGGGTAGTCCTGATGGTCCCCTGGTCCCCTGGTAATGGTCCCCTGGTCCCCTGGTAGTCCTGATGGGGGGGGTAGTCCTGATGGTCCCCTGGGGTCCCCTGGTAGTCCTGATGGGGGGGGTAGTCCTGATGGTCCCCTGGTCCCCTGGTAGTCCTGATGGGGTAGGATGGGGTAG...

output:

12

result:

ok single line: '12'

Test #49:

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

input:

TTATAATAATAATATACTTAGGACTAATCAGGATTCATATAATATACTTAGGACTAATCAGGATTCATATAATATACTTAGGACTAATCAGGATTCATATAATATACTTAGGAAGGATTCATATAAAATATACTTAGGAAGGATTCATATAATATACTTAGGACTAATCAGGATTCATATAATATAATATAATATACTTAGGACTAATCAGGATTCATATAATATACTTAGGAAGGATTCATATAAAATATACTTAGGAAGGATTCATATAATATACTTAGGACTAATCAGGATTCATAT...

output:

15

result:

ok single line: '15'

Test #50:

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

input:

TTTTACCAACCATTCCTTACCAACCATTCAATCGTATCAGGGGGGACTATTTTTTATCAGGGGGGACTATGCTAACTTACCAACCATTCAATCGGCTAACTTACCAACCATTCAATCGTATCAGGGGGGACTATTTTATCAGGGGGGACTATGCTAACTTACCAACCATTCAATCGTATCAGGGGGGACTATTATCAGGGGGGACTATGCTAACTTACCAACCATTCAATCGTATCAGGGGGGACTATTTTATCAGGGGGGACTATGCTAACCAATCGTATCAGGGGGGACTATTTTATC...

output:

16

result:

ok single line: '16'

Test #51:

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

input:

CAACCCCAACCCCAACCAACCAACCCCAACCAACCAAAAAAAACCAACCAACCCCAACCAACCCCAACCAACCAACCAACCCCAACCAACCCCAACCAACCAAAAAAAACCAACCAACCCCAACCAACCAACCCCAACCAACCAAAAAAAACCAACCAACCCCAACCAACCCCAACCAACCAAAAAAAACCAACCAACCCCAACCAACCCCAACCAACCAAAAAAAACCAACCAACCAACCAACCAAAAAAAACCAACCAACCCCAACCAACCCCAACCAACCAAAAAAAACCAACCAAC...

output:

121

result:

ok single line: '121'

Test #52:

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

input:

TTAATGCCGTAAAAGACCCGCAAACAGCTTCGACAAACGCCGCAAACAGCTTCGGCTTCGACAAACGCCGCAAACAGCTTCGACAAACGCCCAGAAAATGCCGTAAAAGACCCGCAAACAGCTTCGACAAACGCCGCAAACAGCCGACAAACGCCGCAAACAGCTTCGACAAACGGCAAACAGCTTCGACAAACGCCGCAAACAGCCGACAAACGCCGCAAACAGCTTCGACAAACGCCCAGAAAATGCCGTAAAAGACCCGCAAACAGCTTCGACAAACGCCGCAAACAGCTTCGACAA...

output:

142

result:

ok single line: '142'

Test #53:

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

input:

CCTCCCGGTCTTAGAGGGGCTAACGTTACAAAATGTTGTCGCGAGCGACGCGACGACATTCTGCTCTGGTTGGTGGATGGCCCTGCGGGGAATAGCCCGG

output:

98

result:

ok single line: '98'

Test #54:

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

input:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

output:

1

result:

ok single line: '1'

Test #55:

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

input:

TCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTTTCCCCTTC

output:

2

result:

ok single line: '2'

Test #56:

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

input:

CCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTC

output:

2

result:

ok single line: '2'

Test #57:

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

input:

CCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCCTTCCCC

output:

2

result:

ok single line: '2'

Test #58:

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

input:

CTTCTTCTTCCCGGCCCTTCTTCTTCCTTCTTCTTCCCGGCCCTTCTTCTTCTTCTTAATTCTTCTTCTTCTTCCCGGCCCTTCTTCTTCCTTCTTCTTCCCGGG

output:

19

result:

ok single line: '19'

Test #59:

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

input:

CCTCCCGGTCTTAGAGGGGCTAACGTTACAAAATGTTGTCGCGAGCGACGCGACGACATTCTGCTCTGGTTGGTGGATGGCCCTGCGGGGAATAGCCCGGCACATTCAGTTAAGGTAGTAGGCGCCCTATACAAGTGAACGCGTCAGACTCGGCAACTATGTCGGTAGAAGACACATATTTGAGTGGAGGGTCTAAACTGGGATCAAGTACAGCGTTGTGAAACTTCTGACTTGGGCGGCTAACGTTCATTGCATCTGGTACCCATGAAGCACTGTTCGCATCCACGTCGTAGTACTACA...

output:

999

result:

ok single line: '999'

Test #60:

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

input:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...

output:

1

result:

ok single line: '1'

Test #61:

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

input:

CTGGCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTTCCCCTCCCGGTCCTGGCCCTCCCCTCCC...

output:

9

result:

ok single line: '9'

Test #62:

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

input:

CTGGCCCTCCCCTCCCCCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTC...

output:

9

result:

ok single line: '9'

Test #63:

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

input:

CTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTTCCCCTTCCCCTTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCC...

output:

9

result:

ok single line: '9'

Test #64:

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

input:

CTTCTTCTTCCCGGCCCTTCTTCTTCCTTCTTCTTCCCGGCCCTTCTTCTTCTTCTTAATTCTTCTTCTTCTTCCCGGCCCTTCTTCTTCCTTCTTCTTCCCGGGGCCCTTCTTCTTCCTTCTTCTTCCCGGCCCTTCTTCTTCTTCTTATTAATTATTCTTCTTCTTCTTCCCGGCCCTTCTTCTTCCTTCTTCTTCCCGGGGCCCTTCTTCTTCCTTCTTCTTCCCGGCCCTTCTTCTTCTTTTCTTCTTCTTCCCGGCCCTTCTTCTTCCTTCTTCTTCCCGGGGCCCTTCTTCTTC...

output:

20

result:

ok single line: '20'

Test #65:

score: 0
Accepted
time: 112ms
memory: 55332kb

input:

CCTCCCGGTCTTAGAGGGGCTAACGTTACAAAATGTTGTCGCGAGCGACGCGACGACATTCTGCTCTGGTTGGTGGATGGCCCTGCGGGGAATAGCCCGGCACATTCAGTTAAGGTAGTAGGCGCCCTATACAAGTGAACGCGTCAGACTCGGCAACTATGTCGGTAGAAGACACATATTTGAGTGGAGGGTCTAAACTGGGATCAAGTACAGCGTTGTGAAACTTCTGACTTGGGCGGCTAACGTTCATTGCATCTGGTACCCATGAAGCACTGTTCGCATCCACGTCGTAGTACTACA...

output:

3999999

result:

ok single line: '3999999'

Test #66:

score: 0
Accepted
time: 61ms
memory: 55360kb

input:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...

output:

1

result:

ok single line: '1'

Test #67:

score: 0
Accepted
time: 71ms
memory: 55428kb

input:

CTGGCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTTCCCCTCCCGGTCCTGGCCCTCCCCTCCC...

output:

9

result:

ok single line: '9'

Test #68:

score: 0
Accepted
time: 71ms
memory: 55476kb

input:

GCCCTCCCCCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCCCCCCCCCCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTC...

output:

9

result:

ok single line: '9'

Test #69:

score: 0
Accepted
time: 74ms
memory: 54368kb

input:

GGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTTCCCCTTCCCCTTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCGGTCCTGGCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCCCCTCC...

output:

9

result:

ok single line: '9'

Test #70:

score: 0
Accepted
time: 76ms
memory: 55508kb

input:

GGGCCCTTCTTCTTCCTTCTTCTTCCCGGCCCTTCTTCTTCTTCTTATTAATTATTCTTCTTCTTCTTCCCGGCCCTTCTTCTTCCTTCTTCTTCCCGGGGCCCTTCTTCTTCCTTCTTCTTCCCGGCCCTTCTTCTTCTTCTTAATTCTTCTTCTTCTTCCCGGCCCTTCTTCTTCCTTCTTCTTCCCGGCCCTTCTTCTTCGTCGGCTGCTTCTTCTTCCCGGCCCTTCTTCTTCCTTCTTCTTCCCGGCCCTTCTTCTTCTTCTTAATTCTTCTTCTTCTTCCCGGCCCTTCTTCTT...

output:

113809

result:

ok single line: '113809'

Test #71:

score: 0
Accepted
time: 71ms
memory: 53996kb

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

13

result:

ok single line: '13'

Test #72:

score: 0
Accepted
time: 68ms
memory: 53856kb

input:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...

output:

12

result:

ok single line: '12'

Test #73:

score: 0
Accepted
time: 56ms
memory: 55780kb

input:

GTTGGTTTTGGTGGAACGTAATGCAAGGTGGTGGAAGGTTGGAAGGTGGTGGAACGTAATGCAAGGTGGTTTTGGTTGGTTTTGGTGGAACGTAATGCAAGGTGGTGGAAGGTGGTGGAACGTATCCTTGGTTCCTATGCAAGGAACGTATCCTTGGTTCCTTGGTTCCTATGCAAGGAACGTATCCTTGGTTCCTATGCAAGGTGGTGGAAGGTGGTGGAACGTAATGCAAGGTGGTGGAAGGTGGTGGAACGTATCCTTGGTTCCTATGCAAGGAACGTATCCTTGGTTCCTATGCAA...

output:

16

result:

ok single line: '16'

Test #74:

score: 0
Accepted
time: 66ms
memory: 55588kb

input:

TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...

output:

346

result:

ok single line: '346'

Test #75:

score: 0
Accepted
time: 65ms
memory: 53844kb

input:

CCCCCAGGACGGCAGGACCCAGCATTTCTCCCCAGGCTCCTCGGACCCCTCTTTACGACCCAGGACGGCAGGACCCAGCATTTCTCCCCAGGCTCCTCGGACCCCTCTTTACGACCCAGGACGGCAGGACGGCAGGACCCAGCATTTCTCCCCAGGCTCCTCGGACCCCTCTTTACGACCCAGGACGGCAGGACCCAGCATTTCTCCCCAGGCTCCTCGGACCCCTCTTTACGACCCAGGACGGCAGGACCCAGCATTTCTCCCCCCTCTTTACGACCCAGGACGGCAGGACCCAGCATT...

output:

370

result:

ok single line: '370'

Test #76:

score: 0
Accepted
time: 80ms
memory: 54996kb

input:

CGGCGGTATCAGTTGATACATGTTACCCGAGGGGGGTCAATCGGCATCATCGACCCAAAGATGTACAAGGAAAATGCCTTGGGCAGTTAGAAGGACTCGACACGATTAGCACAGCTCAGGAAGATTGACGGGTTCCGTAAAAGGAACATGTAGAAACCCAGCTACTACGGCTAACTGGGGGGAGCCCATTGTACATAGTTGACTATGGCGCGACCGTACTGAACATTCTCGATGATTAAAGATCGATGTGACAGCCGAGCGCGAAAGAAAAGAGGATATTTATTGAATCGGGATTCCCCG...

output:

376

result:

ok single line: '376'

Test #77:

score: 0
Accepted
time: 68ms
memory: 54248kb

input:

GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...

output:

1212

result:

ok single line: '1212'

Test #78:

score: 0
Accepted
time: 61ms
memory: 55204kb

input:

TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...

output:

1234

result:

ok single line: '1234'

Test #79:

score: 0
Accepted
time: 59ms
memory: 55532kb

input:

GGAAGAATCGTGGGTAGACAGAAGGCTGGAGCGTCTCTAAATACCGCCGAGTAGACATACGTTCTAAACTCTGATTGTACAGGGTCTGTTGGTTGTCTGGGACATGTTAGTCTCAAATCTTGCATACAGATGAGCCGCCATAAATCTCTGCGAGGTCGGAAGACAGATGGGTGCTAAGAAATATTAACGGAACACCGCGCTGATGATCTTCACTTCGGCCCAATACTCCGCTAAAGTATAATCCCAGTGTCTTGGTGACGGGTGTTGCCCCAAAAAATAATGACTGTTTAATACTTGCTA...

output:

1251

result:

ok single line: '1251'