QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505616#3454. Proteinsxiaowuc1AC ✓5ms7168kbC++174.4kb2024-08-05 06:29:292024-08-05 06:29:29

详细

Test #1:

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

input:

2
TGATGC

output:

1

result:

ok single line: '1'

Test #2:

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

input:

4
ATCATGCATGATGTG

output:

3

result:

ok single line: '3'

Test #3:

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

input:

2
ATGATGATG

output:

0

result:

ok single line: '0'

Test #4:

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

input:

1000
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

2000

result:

ok single line: '2000'

Test #5:

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

input:

1000000
A

output:

2999999

result:

ok single line: '2999999'

Test #6:

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

input:

5
AAAAA

output:

10

result:

ok single line: '10'

Test #7:

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

input:

2
GTA

output:

4

result:

ok single line: '4'

Test #8:

score: 0
Accepted
time: 5ms
memory: 7164kb

input:

1000
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...

output:

2000

result:

ok single line: '2000'

Test #9:

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

input:

1
CATGCCTGCCG

output:

1

result:

ok single line: '1'

Test #10:

score: 0
Accepted
time: 5ms
memory: 7064kb

input:

1000
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...

output:

2000

result:

ok single line: '2000'

Test #11:

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

input:

2
CATGCCTGCCG

output:

4

result:

ok single line: '4'

Test #12:

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

input:

2
CC

output:

6

result:

ok single line: '6'

Test #13:

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

input:

18
CCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATG

output:

3

result:

ok single line: '3'

Test #14:

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

input:

7
CCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATG

output:

2

result:

ok single line: '2'

Test #15:

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

input:

7
CCCAGCCCATCCCTGCCCACCCTCCCGCCCATGCCC

output:

9

result:

ok single line: '9'

Test #16:

score: 0
Accepted
time: 2ms
memory: 4156kb

input:

290
CCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGAT...

output:

54

result:

ok single line: '54'

Test #17:

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

input:

165
CATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGA...

output:

1

result:

ok single line: '1'

Test #18:

score: 0
Accepted
time: 1ms
memory: 3848kb

input:

166
CATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGA...

output:

2

result:

ok single line: '2'

Test #19:

score: 0
Accepted
time: 2ms
memory: 6728kb

input:

894
CTCGTTAGTACGTAAGGAGCGGTCATCTCAACCGCATCTATACTTGCCAGGTCCGATGATTCTCGTCCTTGTAACTGTGATGGGAAGCTTGATACTTCTATGCAACCGAGTTCACGGGTCTATCTTGCTTTGAGGGGGTAGCATTTTAACACGTACCATAAGATTTTCTTTTGGCGCGTAATTTCAAAACTCATCCAAGACTACGACGCGGAGAATCTGCGTGCGAGAAATGTACCACCTATTTATGACAAAACCGGGCCATCGAAATGTTACTTAATCAAACGATGTTAACACGC...

output:

2168

result:

ok single line: '2168'

Test #20:

score: 0
Accepted
time: 4ms
memory: 6332kb

input:

771
TGTGGCTGCGGGAAGGACGTGTCCAGTTGTCTCATTACTGAGGTTAAGCAATAGGAAACCATCCAGTGTAGGGTGCATGACTGGTAGGGCTGTTGGACTTCCTTACCCTGTAGGCCGTACAGCTAAACGAAGGTTACGCCGGTTAGGAGGGTGTCACGACAGGGAGCAGTAAACTTCCTCATACGCACGATTGTCTTAATTCACTACGTCAGAGTGAACCGACTACTACCTGTCGCCAACTTGTAAACCTGGTGGAACCGATGCGGTCCTCTCTCGTTCTGGGTGCAGGATAGATG...

output:

1790

result:

ok single line: '1790'

Test #21:

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

input:

229
ATAGAGTGATCCGTCAATAATTTTGCGGCGCAAAGAGGTATCTCATTTTACCGGCTCTAAGATCGAGTTCCTGTAAGATCCTGACCGGTGGACTGTCGTGAGATACCCGCGTCACAGATGGAAACTAAATTGCTGAGGTCTAATTACGGTTACACTATAGTGGTGGATCCTCCAGCGCCGTCCCCGCGTACCGGCTGCGATGGGGCTTGCAGCCTGTTATCCTTGGTAGAAATCCCCTCTAATGGAAATTATTATGTAGCTGCGAAGTTGGCCCCCGCTCTTCTTTTCTGAATACA...

output:

303

result:

ok single line: '303'

Test #22:

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

input:

548
GCGAATTGTCGATCACTGGCTTTTTTCAGTTGAACCAGGATAGAATACTAGGGAGGTCTATAACTAAGACCCAGAGCGCGAACATGAGACCATTATCCTAACCTTCTGGTCAGTACCGGGGCGGCCCGAGCTCTCCATTATACCAGGGTCGCCTGTACCTGTGTGGCAAAGTTAGTTTAAGGCCGCTTCGTAACTCCATGTAGACGAGGTAGCAGACGAAGACTGATGCGTATGGGAGTAAAGATTGGCAAAAGCTACGCTTCATGTGGATTTGTGCTCTCATACGAGCTGCTTCA...

output:

1157

result:

ok single line: '1157'

Test #23:

score: 0
Accepted
time: 1ms
memory: 3892kb

input:

158
TACCGAATGGCAGAACATCGCCTAACTACTTGGAAGTCGTACAACGGTACTGGATCACAATCTTTTCGACAGGCCATGTGGCCAGGTATCATGACTGTGGCCAGGTAAACAACTTTGCTGATCTGTAAGGGCAGTTATGCCGCCCCGCGAGAGATGCAGGTTATTAGATTCTGGGGGTGGTATGGCTTCTACGTTTGTGTGCACATGACGCTTGTGATGTTCGGTCTTTTACCTCTCATCCCAGCAGATAACACCCGGTGAGGCTTTATAATAGTATTTCGCAACCAATACGTTGG...

output:

193

result:

ok single line: '193'

Test #24:

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

input:

181
TCACCCCCAGTCGTCGTGAGTATAGTTCTGCGCGACACTAGTCTATACAAATCAGTCATAGCCCGTGACGGGCGTGCGTTTTTACACTTCATCGGGTGAACTCCAGTCTGGTATTATCAACCGTCGTAACAGTAGAGGTCGCAGGACAATCCATGTCAAGGCCTTCAGAGTGACCTTGACGCTTCTTTCCATCTTGACCCCCACCTTTCAGGAGACGTTCAGATATGTTCTCGTTGTCTTCTTATTCACCGTGACCCTTGTTCCTCGGATGGAGTATCATCTCGCGGGCACGCTAT...

output:

217

result:

ok single line: '217'

Test #25:

score: 0
Accepted
time: 3ms
memory: 7004kb

input:

992
GAGGCGGAGCTGATGTGTAGAACAGTCGCCGTTGGTAAGAACGACCAGTGCGGAGCTGCGCGCTACATGAACGGAGTATTCCGGGGAGAATGAGCAAGCGTACCGCGCGGGCCTCCCCCCATAAGACATCGTATAGCTGTCGGAAGCATAAACTCTTATAAATCCTCGTAATGACCGGGGTTTTGCCCCAGTTCTCGATCGACCTTGTCCGCCATAGACCGAGCGGAGTCCTTTTTGCTCCGCAAATAGAAAGAATGCTCTTCAAAGGATTATAAGGTATTACCATGTGCGGCTGA...

output:

2468

result:

ok single line: '2468'

Test #26:

score: 0
Accepted
time: 2ms
memory: 7168kb

input:

1000000
GAGGCGGAGCTGATGTGTAGAACAGTCGCCGTTGGTAAGAACGACCAGTGCGGAGCTGCGCGCTACATGAACGGAGTATTCCGGGGAGAATGAGCAAGCGTACCGCGCGGGCCTCCCCCCATAAGACATCGTATAGCTGTCGGAAGCATAAACTCTTATAAATCCTCGTAATGACCGGGGTTTTGCCCCAGTTCTCGATCGACCTTGTCCGCCATAGACCGAGCGGAGTCCTTTTTGCTCCGCAAATAGAAAGAATGCTCTTCAAAGGATTATAAGGTATTACCATGTGCGG...

output:

2999492

result:

ok single line: '2999492'