QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#182401#6505. CCPC Stringucup-team955WA 35ms3764kbC++111.4kb2023-09-17 22:53:052023-09-17 22:53:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
?cpc
ccp??
???c???
?c???cp??
?c?????cccp????

output:

1
1
4
5
14

result:

ok 5 number(s): "1 1 4 5 14"

Test #2:

score: -100
Wrong Answer
time: 35ms
memory: 3764kb

input:

100000
c?cp?pp?c?
ppp????pcc
c?ppppcc?p
?p?cc?ccpc
pc?ppc?cp?
?pp?p?c?cp
p???pcccpp
cpcccpcc??
????c?cc?p
pcp?pppcp?
cc?pccc?pp
cpc??c?p?c
??c??cpppc
cpcp?pc??c
pcc??ppccp
?p?p?cpcpp
c?ccpcpp??
ppc?cccccp
cp?pcccppp
cccc???ccc
c?pcc?pp?p
pcc?p??cp?
?cc??ppp?p
?ppp??p?pp
??pccc??p?
???cccpp??
c???c?p...

output:

2
6
2
1
2
3
1
1
4
1
2
4
5
4
2
1
3
1
0
7
3
5
4
4
4
4
5
2
3
1
2
6
2
2
3
8
5
3
2
2
4
4
2
1
5
3
3
3
2
3
2
4
4
1
4
1
3
3
3
2
6
5
3
1
4
2
5
1
1
2
1
5
5
4
1
7
1
5
4
1
3
5
1
3
5
1
3
4
2
0
4
5
1
4
7
2
2
4
2
3
0
3
5
0
5
7
2
2
0
2
6
2
3
3
1
5
1
5
3
1
3
3
2
3
1
1
4
1
5
2
3
1
3
1
5
0
7
4
2
0
3
6
1
4
3
3
4
0
5
5
...

result:

wrong answer 1st numbers differ - expected: '1', found: '2'