QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#763274 | #9741. CCPC | UESTC_NLNS# | WA | 7ms | 10576kb | Python3 | 71b | 2024-11-19 19:18:57 | 2024-11-19 19:18:57 |
Judging History
answer
a = input()
m1 = a.count('C')//3
m2 = a.count('P')
print(min(m1,m2))
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 10448kb
input:
ABCDCPCPC
output:
1
result:
ok single line: '1'
Test #2:
score: -100
Wrong Answer
time: 7ms
memory: 10576kb
input:
CAAACPBCDEFGCHIJCKLPM
output:
1
result:
wrong answer 1st lines differ - expected: '2', found: '1'