QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#59485#3454. ProteinsLHAC ✓385ms62652kbJava111.5kb2022-10-29 17:05:062022-10-29 17:05:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 237ms
memory: 59596kb

input:

2
TGATGC

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 253ms
memory: 59672kb

input:

4
ATCATGCATGATGTG

output:

3

result:

ok single line: '3'

Test #3:

score: 0
Accepted
time: 223ms
memory: 59692kb

input:

2
ATGATGATG

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 328ms
memory: 60340kb

input:

1000
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

2000

result:

ok single line: '2000'

Test #5:

score: 0
Accepted
time: 276ms
memory: 59520kb

input:

1000000
A

output:

2999999

result:

ok single line: '2999999'

Test #6:

score: 0
Accepted
time: 213ms
memory: 58888kb

input:

5
AAAAA

output:

10

result:

ok single line: '10'

Test #7:

score: 0
Accepted
time: 214ms
memory: 59648kb

input:

2
GTA

output:

4

result:

ok single line: '4'

Test #8:

score: 0
Accepted
time: 360ms
memory: 60236kb

input:

1000
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT...

output:

2000

result:

ok single line: '2000'

Test #9:

score: 0
Accepted
time: 227ms
memory: 59320kb

input:

1
CATGCCTGCCG

output:

1

result:

ok single line: '1'

Test #10:

score: 0
Accepted
time: 385ms
memory: 59956kb

input:

1000
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG...

output:

2000

result:

ok single line: '2000'

Test #11:

score: 0
Accepted
time: 205ms
memory: 59664kb

input:

2
CATGCCTGCCG

output:

4

result:

ok single line: '4'

Test #12:

score: 0
Accepted
time: 207ms
memory: 59732kb

input:

2
CC

output:

6

result:

ok single line: '6'

Test #13:

score: 0
Accepted
time: 210ms
memory: 59396kb

input:

18
CCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATG

output:

3

result:

ok single line: '3'

Test #14:

score: 0
Accepted
time: 213ms
memory: 59668kb

input:

7
CCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATG

output:

2

result:

ok single line: '2'

Test #15:

score: 0
Accepted
time: 233ms
memory: 59676kb

input:

7
CCCAGCCCATCCCTGCCCACCCTCCCGCCCATGCCC

output:

9

result:

ok single line: '9'

Test #16:

score: 0
Accepted
time: 240ms
memory: 60180kb

input:

290
CCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGATGATGCCATGATGATGATGAT...

output:

54

result:

ok single line: '54'

Test #17:

score: 0
Accepted
time: 273ms
memory: 60600kb

input:

165
CATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGA...

output:

1

result:

ok single line: '1'

Test #18:

score: 0
Accepted
time: 241ms
memory: 60136kb

input:

166
CATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGATGA...

output:

2

result:

ok single line: '2'

Test #19:

score: 0
Accepted
time: 335ms
memory: 60304kb

input:

894
CTCGTTAGTACGTAAGGAGCGGTCATCTCAACCGCATCTATACTTGCCAGGTCCGATGATTCTCGTCCTTGTAACTGTGATGGGAAGCTTGATACTTCTATGCAACCGAGTTCACGGGTCTATCTTGCTTTGAGGGGGTAGCATTTTAACACGTACCATAAGATTTTCTTTTGGCGCGTAATTTCAAAACTCATCCAAGACTACGACGCGGAGAATCTGCGTGCGAGAAATGTACCACCTATTTATGACAAAACCGGGCCATCGAAATGTTACTTAATCAAACGATGTTAACACGC...

output:

2168

result:

ok single line: '2168'

Test #20:

score: 0
Accepted
time: 327ms
memory: 60772kb

input:

771
TGTGGCTGCGGGAAGGACGTGTCCAGTTGTCTCATTACTGAGGTTAAGCAATAGGAAACCATCCAGTGTAGGGTGCATGACTGGTAGGGCTGTTGGACTTCCTTACCCTGTAGGCCGTACAGCTAAACGAAGGTTACGCCGGTTAGGAGGGTGTCACGACAGGGAGCAGTAAACTTCCTCATACGCACGATTGTCTTAATTCACTACGTCAGAGTGAACCGACTACTACCTGTCGCCAACTTGTAAACCTGGTGGAACCGATGCGGTCCTCTCTCGTTCTGGGTGCAGGATAGATG...

output:

1790

result:

ok single line: '1790'

Test #21:

score: 0
Accepted
time: 240ms
memory: 59984kb

input:

229
ATAGAGTGATCCGTCAATAATTTTGCGGCGCAAAGAGGTATCTCATTTTACCGGCTCTAAGATCGAGTTCCTGTAAGATCCTGACCGGTGGACTGTCGTGAGATACCCGCGTCACAGATGGAAACTAAATTGCTGAGGTCTAATTACGGTTACACTATAGTGGTGGATCCTCCAGCGCCGTCCCCGCGTACCGGCTGCGATGGGGCTTGCAGCCTGTTATCCTTGGTAGAAATCCCCTCTAATGGAAATTATTATGTAGCTGCGAAGTTGGCCCCCGCTCTTCTTTTCTGAATACA...

output:

303

result:

ok single line: '303'

Test #22:

score: 0
Accepted
time: 298ms
memory: 60728kb

input:

548
GCGAATTGTCGATCACTGGCTTTTTTCAGTTGAACCAGGATAGAATACTAGGGAGGTCTATAACTAAGACCCAGAGCGCGAACATGAGACCATTATCCTAACCTTCTGGTCAGTACCGGGGCGGCCCGAGCTCTCCATTATACCAGGGTCGCCTGTACCTGTGTGGCAAAGTTAGTTTAAGGCCGCTTCGTAACTCCATGTAGACGAGGTAGCAGACGAAGACTGATGCGTATGGGAGTAAAGATTGGCAAAAGCTACGCTTCATGTGGATTTGTGCTCTCATACGAGCTGCTTCA...

output:

1157

result:

ok single line: '1157'

Test #23:

score: 0
Accepted
time: 227ms
memory: 60248kb

input:

158
TACCGAATGGCAGAACATCGCCTAACTACTTGGAAGTCGTACAACGGTACTGGATCACAATCTTTTCGACAGGCCATGTGGCCAGGTATCATGACTGTGGCCAGGTAAACAACTTTGCTGATCTGTAAGGGCAGTTATGCCGCCCCGCGAGAGATGCAGGTTATTAGATTCTGGGGGTGGTATGGCTTCTACGTTTGTGTGCACATGACGCTTGTGATGTTCGGTCTTTTACCTCTCATCCCAGCAGATAACACCCGGTGAGGCTTTATAATAGTATTTCGCAACCAATACGTTGG...

output:

193

result:

ok single line: '193'

Test #24:

score: 0
Accepted
time: 265ms
memory: 62460kb

input:

181
TCACCCCCAGTCGTCGTGAGTATAGTTCTGCGCGACACTAGTCTATACAAATCAGTCATAGCCCGTGACGGGCGTGCGTTTTTACACTTCATCGGGTGAACTCCAGTCTGGTATTATCAACCGTCGTAACAGTAGAGGTCGCAGGACAATCCATGTCAAGGCCTTCAGAGTGACCTTGACGCTTCTTTCCATCTTGACCCCCACCTTTCAGGAGACGTTCAGATATGTTCTCGTTGTCTTCTTATTCACCGTGACCCTTGTTCCTCGGATGGAGTATCATCTCGCGGGCACGCTAT...

output:

217

result:

ok single line: '217'

Test #25:

score: 0
Accepted
time: 330ms
memory: 62652kb

input:

992
GAGGCGGAGCTGATGTGTAGAACAGTCGCCGTTGGTAAGAACGACCAGTGCGGAGCTGCGCGCTACATGAACGGAGTATTCCGGGGAGAATGAGCAAGCGTACCGCGCGGGCCTCCCCCCATAAGACATCGTATAGCTGTCGGAAGCATAAACTCTTATAAATCCTCGTAATGACCGGGGTTTTGCCCCAGTTCTCGATCGACCTTGTCCGCCATAGACCGAGCGGAGTCCTTTTTGCTCCGCAAATAGAAAGAATGCTCTTCAAAGGATTATAAGGTATTACCATGTGCGGCTGA...

output:

2468

result:

ok single line: '2468'

Test #26:

score: 0
Accepted
time: 340ms
memory: 62220kb

input:

1000000
GAGGCGGAGCTGATGTGTAGAACAGTCGCCGTTGGTAAGAACGACCAGTGCGGAGCTGCGCGCTACATGAACGGAGTATTCCGGGGAGAATGAGCAAGCGTACCGCGCGGGCCTCCCCCCATAAGACATCGTATAGCTGTCGGAAGCATAAACTCTTATAAATCCTCGTAATGACCGGGGTTTTGCCCCAGTTCTCGATCGACCTTGTCCGCCATAGACCGAGCGGAGTCCTTTTTGCTCCGCAAATAGAAAGAATGCTCTTCAAAGGATTATAAGGTATTACCATGTGCGG...

output:

2999492

result:

ok single line: '2999492'