QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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))
詳細信息
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'