QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505624#3468. Hay Balesxiaowuc1AC ✓59ms39916kbJava82.8kb2024-08-05 06:31:242024-08-05 06:31:25

详细

Test #1:

score: 100
Accepted
time: 36ms
memory: 38428kb

input:

CPCC

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 37ms
memory: 38576kb

input:

PPPPCCCC

output:

8

result:

ok single line: '8'

Test #3:

score: 0
Accepted
time: 26ms
memory: 38340kb

input:

CCCCPPPP

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 42ms
memory: 37924kb

input:

PPCPPCCPCP

output:

8

result:

ok single line: '8'

Test #5:

score: 0
Accepted
time: 33ms
memory: 36912kb

input:

PPPCPPCPPPPPPCPPCPPC

output:

24

result:

ok single line: '24'

Test #6:

score: 0
Accepted
time: 33ms
memory: 36856kb

input:

PPCPPPCPCCCCCPPPCPCPPCCPPPCCPC

output:

64

result:

ok single line: '64'

Test #7:

score: 0
Accepted
time: 42ms
memory: 38512kb

input:

CPCCCPPCPPPPPPPPPCCCPPCPCPCPCCCPPCPCPCPC

output:

110

result:

ok single line: '110'

Test #8:

score: 0
Accepted
time: 40ms
memory: 37028kb

input:

CCPPPPCPCPPCCPCCCPPCPCPCCCPPPPPPPPCCCCCPCPPCCCPCPP

output:

159

result:

ok single line: '159'

Test #9:

score: 0
Accepted
time: 35ms
memory: 38520kb

input:

PPCCCPCCCCCCCCPPPPCCPCPCCCCPCPPCPCCCPPCCCCPPPCCCPPCPCPPCCCCPPPPPPCCPCPCPPPPPPPCPCCCPPCPCPPPCPPCPPPCP

output:

448

result:

ok single line: '448'

Test #10:

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

input:

CPCPCPPPPCCCPPCCPCCCCCPPCCPCCCCPPCCCPPCPPCCCPPCCPPPPPPPPCCPPPPPPPCCCPCCPPCCCPPPPPCPPPCPCCPPCCPCPPPPPPPPPCPPPPCCCPCPCCPCPPPPCPPCPCCCCCPCPCPCCCPPPCCPPPPPCPCCPPCPCCCPPPCPPPCPCPPCCCPPCCPPPPCCPPCPPPPCPCPPPPPCCCPPCCCCCPPPPCCCCCPCPPCCPPPPPCCCCPPPCPPCCCPPCPPCCPCCPCPPCPCPPPCPPPCCPCPPCPCCPPPPCCCPCCCCCPPCPPPCC...

output:

15647

result:

ok single line: '15647'