QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#635265#9454. String of CCPCucup-team5198#WA 51ms4988kbC++141.1kb2024-10-12 19:24:372024-10-12 19:24:38

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3660kb

input:

3
3
CCC
5
CCCCP
4
CPCP

output:

1
1
1

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 51ms
memory: 4988kb

input:

20003
5
PCCPC
10
CPPPPCPCPC
4
CPPC
11
CCPPCPPPCCP
17
PPPPCPCCCCCPCCCCC
10
PPCCPCPPCP
9
CPCCCCPPC
11
PCPPPPCCPPP
15
CPCPPPPCCPCPCCC
11
PCCPPCCPCPP
9
PCPCCPPCP
10
CCPCPPPCPP
14
CCCCPPPCPCPCPP
2
CC
12
CCPCPPPPPCPP
6
CPPPPP
12
PCCPCCCCCPCC
16
CPCCPCCPPCCCCPPC
7
CPPPCPC
16
PPPPPCCPCPCPCPPC
13
PPPCPCCCCPP...

output:

1
1
0
1
2
1
1
1
2
2
1
1
1
0
1
0
2
2
1
2
1
1
1
0
1
1
3
1
1
2
1
2
1
1
0
0
0
3
1
0
0
1
1
2
0
1
1
0
1
1
0
1
0
1
0
2
1
1
0
2
1
2
2
2
0
2
2
0
0
2
1
1
2
3
1
3
1
2
0
1
1
0
1
2
1
1
1
2
1
3
1
1
2
1
2
2
0
1
0
3
0
1
1
2
2
0
2
1
1
2
2
0
3
1
1
1
1
1
1
1
0
1
1
0
3
0
3
1
1
0
0
1
0
2
0
1
1
1
1
2
2
1
1
0
0
1
2
0
1
2
...

result:

wrong answer 17th lines differ - expected: '3', found: '2'